Open main menu

CDOT Wiki β

Changes

XB PointStream

304 bytes added, 15:33, 23 November 2010
Parser Interface
===Parser Interface===
<pre>
/* Add an event listener to the parser. Once the event fires, the associated function will be called, which will pass in a reference to itself. This way the library knows which parser it is working with.  @param {String} eventName - can be "onstart", - must occur exactly once "onparse" - must occur one or many times "onfinish"- must occur exactly once "hook" - ?
@param {Function} func - the function to call when the event occurs
1
edit