<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,8 +2,9 @@ The Motionbox EventHandler allows you to:
 
 * Subscribe to elements *before* they are on the DOM
 * Subscribe to entire classes of elements (eg. subscribe to clicks on all elements with the class &quot;.foo&quot;)
+* Use the same interface to trigger events between Objects and/or DOM elements
 * Limit your actual observers to a minimum (Only 1 per *type* of event) and still subscribe many elements
-* Maintain a consistent interface among both custom and browser events
+* Maintain a consistent interface among both custom, browser, and on Object events
 
 #Introduction
 
@@ -19,12 +20,13 @@ The basic idea is that we listen for key interesting events at the document.body
 
 #Implementation
 
-MBX.EventHandler listens to either element IDs, classes or single css selectors (p.my_class:first-child).
+MBX.EventHandler listens to Objects, element IDs, classes or single css selectors (p.my_class:first-child).
 
-Right now MBX.EventHandler listens to the following events:  &quot;mouseout&quot;, &quot;click&quot;, &quot;mouseover&quot;, &quot;keypress&quot;, &quot;change&quot;, &quot;blur&quot;
+Right now MBX.EventHandler listens to the following events:  &quot;mouseout&quot;, &quot;click&quot;, &quot;mouseover&quot;, &quot;keypress&quot;, &quot;change&quot;, &quot;blur&quot;, &quot;dom:loaded&quot;
 Any event that bubbles to document is a good candidate for the EventHandler, these are just what we have started with.
+You can also fire any arbitrary event you want.
 
-IMPORTANT NOTE:  &quot;change&quot;, &quot;blur&quot; do NOT bubble in IE6,7 and hence are not usable with the EventHandler in those browsers. 
+IMPORTANT NOTE:  &quot;change&quot;, &quot;blur&quot; do NOT bubble in IE6,7 and hence are not usable with the EventHandler in those browsers without some additional functions.
 
 Given:
 
@@ -66,7 +68,7 @@ evt = {'target': $(&quot;one&quot;), 'type': &quot;my_custom_event_name&quot;, 'customAttribute': &quot;t
 
 NOTE:  The target that is being sent to fireCustom and that is being added to the event is an actual DOM element (not an ID or class).
 
-##Unsubscribing
+#Unsubscribing
 
 In rare cases, you may want to remove a behavior from a class or id.  When subscribing to an event, MBX.EventHandler will return an object to you that you can later use to unsubscribe:
 
@@ -77,10 +79,11 @@ In rare cases, you may want to remove a behavior from a class or id.  When subsc
 
 MBX.EventHandler has the following three public functions:
 
-subscribe(specifiers, eventTypes, functionsToCall)
-  specifiers = a string (or optional array of strings) specifying either a class or an id to subscribe to
+subscribe(specifiers, eventTypes, functionsToCall, opts)
+  specifiers = an Object or String (or optional array of Strings or Objects) specifying Object, class, id, or css selector to subscribe to
   eventTypes = a string (or optional array of strings) specifying the name of the events to subscribe to
   functionsToCall = a function (or optional array of functions) to call upon receiving the event.  These functions should accept an Event as their first argument.
+  opts = Object (optional) you can specify {defer: true} to allow these functions to be called with a setTimeout
   --
   returns: eventHandlerObject
 
@@ -88,6 +91,6 @@ unsubscribe(handlerObj)
   handlerObj = the object returned by the subscribe function
 
 fireCustom(target, eventName, opts)
-  target = DOM element
+  target = DOM element or Object
   eventName = the name of the event to fire (eg, &quot;click&quot; or &quot;my_custom_event&quot;)
   opts = optional object with which to extend the event that is fired</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -214,7 +214,7 @@ ul.inheritsList
 		&lt;/div&gt;
 		&lt;div class=&quot;fineprint&quot; style=&quot;clear:both&quot;&gt;
 			
-			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blankt&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 20:45:35 GMT-0400 (EDT)
+			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blankt&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 22:18:36 GMT-0400 (EDT)
 		&lt;/div&gt;
 	&lt;/body&gt;
 &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>docs/jsdoc/files.html</filename>
    </modified>
    <modified>
      <diff>@@ -221,7 +221,7 @@ ul.inheritsList
 		&lt;/div&gt;
 		&lt;div class=&quot;fineprint&quot; style=&quot;clear:both&quot;&gt;
 			
-			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blankt&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 20:45:35 GMT-0400 (EDT)
+			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blankt&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 22:18:36 GMT-0400 (EDT)
 		&lt;/div&gt;
 	&lt;/body&gt;
 &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>docs/jsdoc/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -273,7 +273,7 @@ ul.inheritsList
 							&lt;td class=&quot;nameDescription&quot;&gt;
 								&lt;div class=&quot;fixedFont&quot;&gt;MBX.EventHandler.&lt;b&gt;&lt;a href=&quot;../symbols/MBX.EventHandler.html#.onDomReady&quot;&gt;onDomReady&lt;/a&gt;&lt;/b&gt;(funcs)
 								&lt;/div&gt;
-								&lt;div class=&quot;description&quot;&gt;these functions will be fired as soon as the dom is ready (using prototypes dom:ready event)&lt;/div&gt;
+								&lt;div class=&quot;description&quot;&gt;Accepts functions that will be fired as soon as the dom is ready (using prototypes dom:loaded event)&lt;/div&gt;
 							&lt;/td&gt;
 						&lt;/tr&gt;
 					
@@ -406,7 +406,7 @@ ul.inheritsList
 					
 					&lt;/div&gt;
 					&lt;div class=&quot;description&quot;&gt;
-						these functions will be fired as soon as the dom is ready (using prototypes dom:ready event)
+						Accepts functions that will be fired as soon as the dom is ready (using prototypes dom:loaded event)
 						
 						
 					&lt;/div&gt;
@@ -429,6 +429,13 @@ ul.inheritsList
 						
 						
 						
+							&lt;dl class=&quot;detailList&quot;&gt;
+							&lt;dt class=&quot;heading&quot;&gt;Returns:&lt;/dt&gt;
+							
+								&lt;dd&gt;a handler object that can be used to unsubscribe&lt;/dd&gt;
+							
+							&lt;/dl&gt;
+						
 						
 						
 
@@ -454,7 +461,12 @@ ul.inheritsList
 					&lt;pre class=&quot;code&quot;&gt;              MBX.EventHandler.subscribe(&quot;.myClass&quot;, &quot;click&quot;, function (){ alert('hi'); });
             or:&lt;/pre&gt;
 					
-					&lt;pre class=&quot;code&quot;&gt;              MBX.EventHandler.subscribe(&quot;p#blah.cool&quot;, &quot;click&quot;, function(evt) {console.dir(evt);});
+					&lt;pre class=&quot;code&quot;&gt;              MBX.EventHandler.subscribe(&quot;p#blah.cool&quot;, &quot;click&quot;, function(evt) {console.dir(evt);});&lt;/pre&gt;
+					
+					&lt;pre class=&quot;code&quot;&gt;              var someObj = {};
+              // the below will use a setTimeout to fire the function when &quot;myEvent&quot; is fired on someObj
+              MBX.EventHandler.subscribe(someObj, &quot;myEvent&quot;, function () {alert('hi'); }, {defer: true});
+              
             events may be custom events&lt;/pre&gt;
 					
 					
@@ -464,10 +476,10 @@ ul.inheritsList
 							&lt;dt class=&quot;heading&quot;&gt;Parameters:&lt;/dt&gt;
 							
 								&lt;dt&gt;
-									&lt;span class=&quot;light fixedFont&quot;&gt;{String}&lt;/span&gt; &lt;b&gt;specifiers&lt;/b&gt;
+									&lt;span class=&quot;light fixedFont&quot;&gt;{String or Object or Array}&lt;/span&gt; &lt;b&gt;specifiers&lt;/b&gt;
 									
 								&lt;/dt&gt;
-								&lt;dd&gt;the class, id or CSS selector that you want to subscribe to&lt;/dd&gt;
+								&lt;dd&gt;the Object, class, id or CSS selector that you want to subscribe to (or array of any of those)&lt;/dd&gt;
 							
 								&lt;dt&gt;
 									&lt;span class=&quot;light fixedFont&quot;&gt;{String or Array}&lt;/span&gt; &lt;b&gt;evtTypes&lt;/b&gt;
@@ -505,8 +517,7 @@ ul.inheritsList
 							&lt;dl class=&quot;detailList&quot;&gt;
 							&lt;dt class=&quot;heading&quot;&gt;See:&lt;/dt&gt;
 							
-								&lt;dd&gt;MBX.EventHandler.fireCustom.
-            returns an object you can use to unsubscribe&lt;/dd&gt;
+								&lt;dd&gt;MBX.EventHandler.fireCustom.&lt;/dd&gt;
 							
 							&lt;/dl&gt;
 						
@@ -538,7 +549,7 @@ ul.inheritsList
 							&lt;dt class=&quot;heading&quot;&gt;Parameters:&lt;/dt&gt;
 							
 								&lt;dt&gt;
-									&lt;span class=&quot;light fixedFont&quot;&gt;{Object or Array}&lt;/span&gt; &lt;b&gt;handlerObjects&lt;/b&gt;
+									&lt;span class=&quot;light fixedFont&quot;&gt;{Object}&lt;/span&gt; &lt;b&gt;handlerObjects&lt;/b&gt;
 									
 								&lt;/dt&gt;
 								&lt;dd&gt;the handler objects that were originally passed to the
@@ -563,7 +574,7 @@ ul.inheritsList
 &lt;!-- ============================== footer ================================= --&gt;
 		&lt;div class=&quot;fineprint&quot; style=&quot;clear:both&quot;&gt;
 			
-			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 20:45:35 GMT-0400 (EDT)
+			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 22:18:36 GMT-0400 (EDT)
 		&lt;/div&gt;
 	&lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>docs/jsdoc/symbols/MBX.EventHandler.html</filename>
    </modified>
    <modified>
      <diff>@@ -291,7 +291,7 @@ ul.inheritsList
 &lt;!-- ============================== footer ================================= --&gt;
 		&lt;div class=&quot;fineprint&quot; style=&quot;clear:both&quot;&gt;
 			
-			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 20:45:35 GMT-0400 (EDT)
+			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 22:18:36 GMT-0400 (EDT)
 		&lt;/div&gt;
 	&lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>docs/jsdoc/symbols/MBX.html</filename>
    </modified>
    <modified>
      <diff>@@ -240,7 +240,7 @@ ul.inheritsList
 &lt;!-- ============================== footer ================================= --&gt;
 		&lt;div class=&quot;fineprint&quot; style=&quot;clear:both&quot;&gt;
 			
-			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 20:45:35 GMT-0400 (EDT)
+			Documentation generated by &lt;a href=&quot;http://www.jsdoctoolkit.org/&quot; target=&quot;_blank&quot;&gt;JsDoc Toolkit&lt;/a&gt; 2.0.1 on Tue Jul 29 2008 22:18:36 GMT-0400 (EDT)
 		&lt;/div&gt;
 	&lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>docs/jsdoc/symbols/_global_.html</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@
 	.REGX {color: #339;}
 	.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
 	&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;pre&gt;&lt;span class='line'&gt;  1&lt;/span&gt; &lt;span class=&quot;COMM&quot;&gt;/**  event_handler
-&lt;span class='line'&gt;  2&lt;/span&gt;     @version 1.2
+&lt;span class='line'&gt;  2&lt;/span&gt;     @version 1.1
 &lt;span class='line'&gt;  3&lt;/span&gt;  *  @requires Prototype 1.6.0
 &lt;span class='line'&gt;  4&lt;/span&gt;  
 &lt;span class='line'&gt;  5&lt;/span&gt;  *  Copyright (c) 2008 Motionbox, Inc.
@@ -319,227 +319,225 @@
 &lt;span class='line'&gt;312&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptionArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;313&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;314&lt;/span&gt;     
-&lt;span class='line'&gt;315&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// utility functions&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;316&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;317&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;318&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.constructor&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;319&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;320&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;321&lt;/span&gt;     
-&lt;span class='line'&gt;322&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isId&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;323&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/^\#[\w-]+$/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;324&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;325&lt;/span&gt;     
-&lt;span class='line'&gt;326&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isClass&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;327&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/^\.[\w-]+$/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;328&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;329&lt;/span&gt;     
-&lt;span class='line'&gt;330&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isObject&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;331&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;object&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;315&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isId&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;316&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/^\#[\w-]+$/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;317&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;318&lt;/span&gt;     
+&lt;span class='line'&gt;319&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isClass&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;320&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/^\.[\w-]+$/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierString&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;321&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;322&lt;/span&gt;     
+&lt;span class='line'&gt;323&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isObject&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;324&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;object&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;325&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;326&lt;/span&gt;     
+&lt;span class='line'&gt;327&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;328&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;329&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;330&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;331&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;332&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;333&lt;/span&gt;     
-&lt;span class='line'&gt;334&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;335&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;336&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;337&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;338&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;obj.__MotionboxEventHandlerMaker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;339&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;340&lt;/span&gt;     
-&lt;span class='line'&gt;341&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;342&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;preventDefault&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;343&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;stopPropagation&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;344&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;pageX&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;345&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;pageY&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;346&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;clientX&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;347&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;clientY&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;348&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;349&lt;/span&gt;     
-&lt;span class='line'&gt;350&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;351&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.type&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;352&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.target&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;353&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.srcElement&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;354&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.eventName&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;355&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.memo&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;356&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;357&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;358&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender.hasOwnProperty&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;359&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;360&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;361&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;362&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;363&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;364&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;365&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;366&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;367&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;368&lt;/span&gt;         
-&lt;span class='line'&gt;369&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;370&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;371&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methods&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.keys&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.Methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;inject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;372&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.Methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methodize&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;373&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;374&lt;/span&gt;               &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;375&lt;/span&gt;     
-&lt;span class='line'&gt;376&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document.createEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;HTMLEvents&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;__proto__&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;377&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;378&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;379&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;380&lt;/span&gt;     
-&lt;span class='line'&gt;381&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;382&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;destroyObservers&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;383&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;stdEvents.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;384&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document.stopObserving&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handleEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;385&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;386&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;387&lt;/span&gt;         
-&lt;span class='line'&gt;388&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;window.attachEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'onunload'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;destroyObservers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;389&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;390&lt;/span&gt;     
-&lt;span class='line'&gt;391&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** @lends MBX.EventHandler */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;392&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//public functions&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;393&lt;/span&gt;     
-&lt;span class='line'&gt;394&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** institue the subscriber:  '#' indicates an id, &quot;.&quot; indicates a class, anything else is considered
-&lt;span class='line'&gt;395&lt;/span&gt;             a CSS Selector
-&lt;span class='line'&gt;396&lt;/span&gt;             subscribe with:
-&lt;span class='line'&gt;397&lt;/span&gt;             @example
-&lt;span class='line'&gt;398&lt;/span&gt;               MBX.EventHandler.subscribe(&quot;.myClass&quot;, &quot;click&quot;, function (){ alert('hi'); });
-&lt;span class='line'&gt;399&lt;/span&gt;             or:
-&lt;span class='line'&gt;400&lt;/span&gt;             @example
-&lt;span class='line'&gt;401&lt;/span&gt;               MBX.EventHandler.subscribe(&quot;p#blah.cool&quot;, &quot;click&quot;, function(evt) {console.dir(evt);});
-&lt;span class='line'&gt;402&lt;/span&gt;             events may be custom events
-&lt;span class='line'&gt;403&lt;/span&gt;             
-&lt;span class='line'&gt;404&lt;/span&gt;             @param {String} specifiers the class, id or CSS selector that you want to subscribe to
-&lt;span class='line'&gt;405&lt;/span&gt;             @param {String or Array} evtTypes the types of events you want to subscribe to
-&lt;span class='line'&gt;406&lt;/span&gt;             @param {Function or Array} funcs the functions you want to be called with this subscription
-&lt;span class='line'&gt;407&lt;/span&gt;             @param {Object} opts Right now only takes a &quot;defer&quot; option which will fire functions with setTimeout
+&lt;span class='line'&gt;334&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;335&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;preventDefault&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;336&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;stopPropagation&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;337&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;pageX&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;338&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;pageY&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;339&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;clientX&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;340&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;clientY&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;341&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;342&lt;/span&gt;     
+&lt;span class='line'&gt;343&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;344&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.type&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;345&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.target&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;346&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.srcElement&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;347&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.eventName&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;348&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;this.memo&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;349&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;350&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;351&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender.hasOwnProperty&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;352&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;353&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;browserLikeEventExtender&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;prop&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;354&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;355&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;356&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;357&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;358&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;359&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;360&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;361&lt;/span&gt;         
+&lt;span class='line'&gt;362&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;363&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;364&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methods&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.keys&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.Methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;inject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;365&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.Methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methodize&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;366&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;m&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;367&lt;/span&gt;               &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;368&lt;/span&gt;     
+&lt;span class='line'&gt;369&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document.createEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;HTMLEvents&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;__proto__&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;370&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent.prototype&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;methods&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;371&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;372&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;373&lt;/span&gt;     
+&lt;span class='line'&gt;374&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Prototype.Browser.IE&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;375&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;destroyObservers&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;376&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;stdEvents.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;377&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document.stopObserving&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handleEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;378&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;379&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;380&lt;/span&gt;         
+&lt;span class='line'&gt;381&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;window.attachEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'onunload'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;destroyObservers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;382&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;383&lt;/span&gt;     
+&lt;span class='line'&gt;384&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** @lends MBX.EventHandler */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;385&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//public functions&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;386&lt;/span&gt;     
+&lt;span class='line'&gt;387&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** institue the subscriber:  '#' indicates an id, &quot;.&quot; indicates a class, anything else is considered
+&lt;span class='line'&gt;388&lt;/span&gt;             a CSS Selector
+&lt;span class='line'&gt;389&lt;/span&gt;             subscribe with:
+&lt;span class='line'&gt;390&lt;/span&gt;             @example
+&lt;span class='line'&gt;391&lt;/span&gt;               MBX.EventHandler.subscribe(&quot;.myClass&quot;, &quot;click&quot;, function (){ alert('hi'); });
+&lt;span class='line'&gt;392&lt;/span&gt;             or:
+&lt;span class='line'&gt;393&lt;/span&gt;             @example
+&lt;span class='line'&gt;394&lt;/span&gt;               MBX.EventHandler.subscribe(&quot;p#blah.cool&quot;, &quot;click&quot;, function(evt) {console.dir(evt);});
+&lt;span class='line'&gt;395&lt;/span&gt;             @example
+&lt;span class='line'&gt;396&lt;/span&gt;               var someObj = {};
+&lt;span class='line'&gt;397&lt;/span&gt;               // the below will use a setTimeout to fire the function when &quot;myEvent&quot; is fired on someObj
+&lt;span class='line'&gt;398&lt;/span&gt;               MBX.EventHandler.subscribe(someObj, &quot;myEvent&quot;, function () {alert('hi'); }, {defer: true});
+&lt;span class='line'&gt;399&lt;/span&gt;               
+&lt;span class='line'&gt;400&lt;/span&gt;             events may be custom events
+&lt;span class='line'&gt;401&lt;/span&gt;             
+&lt;span class='line'&gt;402&lt;/span&gt;             @param {String or Object or Array} specifiers the Object, class, id or CSS selector that you want to subscribe to (or array of any of those)
+&lt;span class='line'&gt;403&lt;/span&gt;             @param {String or Array} evtTypes the types of events you want to subscribe to
+&lt;span class='line'&gt;404&lt;/span&gt;             @param {Function or Array} funcs the functions you want to be called with this subscription
+&lt;span class='line'&gt;405&lt;/span&gt;             @param {Object} opts Right now only takes a &quot;defer&quot; option which will fire functions with setTimeout
+&lt;span class='line'&gt;406&lt;/span&gt;             
+&lt;span class='line'&gt;407&lt;/span&gt;             @returns A handler object that can be used to unsubscribe
 &lt;span class='line'&gt;408&lt;/span&gt;             
-&lt;span class='line'&gt;409&lt;/span&gt;             @returns A handler object that can be used to unsubscribe
-&lt;span class='line'&gt;410&lt;/span&gt;             
-&lt;span class='line'&gt;411&lt;/span&gt;             @see MBX.EventHandler.fireCustom.
-&lt;span class='line'&gt;412&lt;/span&gt;             returns an object you can use to unsubscribe
-&lt;span class='line'&gt;413&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;414&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;415&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;416&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;409&lt;/span&gt;             @see MBX.EventHandler.fireCustom.
+&lt;span class='line'&gt;410&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;411&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;412&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;413&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;414&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;415&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;416&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;417&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;418&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;419&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;418&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;419&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;420&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;421&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;422&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;423&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;424&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;425&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;426&lt;/span&gt;     
-&lt;span class='line'&gt;427&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;428&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;429&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;430&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;objects&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;431&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;432&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;433&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;string&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;434&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;throw&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;specifier was neither an object nor a string&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;435&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;436&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isId&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;437&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier.sub&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/#/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;438&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;ids&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;439&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;440&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isClass&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;441&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;classes&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;442&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier.sub&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/\./&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;443&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;444&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;445&lt;/span&gt;                 
-&lt;span class='line'&gt;446&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//check if it matched id or class&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;447&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;448&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray.concat&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;createIdClassorObjectSubscription&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;449&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;450&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// we assume that anything not matching a class, id or object is a css selector rule&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;451&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray.concat&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;createRulesSubscription&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;452&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//end to rules handling&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;453&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// each specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;454&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// return the array that can be used to unsubscribe&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;455&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;456&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;457&lt;/span&gt;         
-&lt;span class='line'&gt;458&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** Unsubscribe a previous subscribed handler
-&lt;span class='line'&gt;459&lt;/span&gt;             @param {Object or Array} handlerObjects the handler objects that were originally passed to the
-&lt;span class='line'&gt;460&lt;/span&gt;                                                     subscriptions
-&lt;span class='line'&gt;461&lt;/span&gt;             @example
-&lt;span class='line'&gt;462&lt;/span&gt;               var handlerObj = MBX.EventHandler.subscribe(&quot;#blah&quot;, &quot;click&quot;, function () {alert('hi')!});
-&lt;span class='line'&gt;463&lt;/span&gt;               MBX.EventHandler.unsubscribe(handlerObj) // the subscription above is now removed
-&lt;span class='line'&gt;464&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;465&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;unsubscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObjects&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;466&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObjects.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;467&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;&amp;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;&amp;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'function'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;468&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;throw&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'bad unsubscribe object passed to EventHandler.unsubscribe'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;469&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;470&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;rules&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;471&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;472&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator.length&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;473&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;474&lt;/span&gt;                             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;splice&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;475&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;476&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;477&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;478&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;479&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator.length&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;480&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;481&lt;/span&gt;                             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;splice&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;482&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;483&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;484&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;485&lt;/span&gt;     
-&lt;span class='line'&gt;486&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;421&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;422&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;423&lt;/span&gt;     
+&lt;span class='line'&gt;424&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifiers.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;425&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;426&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;427&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;objects&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;428&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;429&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;430&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;string&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;431&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;throw&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;specifier was neither an object nor a string&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;432&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;433&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isId&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;434&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier.sub&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/#/&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;435&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;ids&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;436&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;437&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;isClass&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;438&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;classes&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;439&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier.sub&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;REGX&quot;&gt;/\./&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;440&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;441&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;442&lt;/span&gt;                 
+&lt;span class='line'&gt;443&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//check if it matched id or class&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;444&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;445&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray.concat&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;createIdClassorObjectSubscription&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;446&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;447&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// we assume that anything not matching a class, id or object is a css selector rule&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;448&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray.concat&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;createRulesSubscription&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evtTypes&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;449&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//end to rules handling&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;450&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// each specifier&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;451&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;// return the array that can be used to unsubscribe&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;452&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;referenceArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;453&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;454&lt;/span&gt;         
+&lt;span class='line'&gt;455&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** Unsubscribe a previous subscribed handler
+&lt;span class='line'&gt;456&lt;/span&gt;             @param {Object} handlerObjects the handler objects that were originally passed to the
+&lt;span class='line'&gt;457&lt;/span&gt;                                                     subscriptions
+&lt;span class='line'&gt;458&lt;/span&gt;             @example
+&lt;span class='line'&gt;459&lt;/span&gt;               var handlerObj = MBX.EventHandler.subscribe(&quot;#blah&quot;, &quot;click&quot;, function () {alert('hi')!});
+&lt;span class='line'&gt;460&lt;/span&gt;               MBX.EventHandler.unsubscribe(handlerObj) // the subscription above is now removed
+&lt;span class='line'&gt;461&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;462&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;unsubscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObjects&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;463&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObjects.each&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;464&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;&amp;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;&amp;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;typeof&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'function'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;465&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;throw&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;'bad unsubscribe object passed to EventHandler.unsubscribe'&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;466&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;467&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;rules&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;468&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;469&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator.length&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;470&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;471&lt;/span&gt;                             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;splice&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;472&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;473&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;474&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;475&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;476&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator.length&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcLen&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;477&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;locator&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.func&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;478&lt;/span&gt;                             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifierType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.eventType&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handlerObject.specifier&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;splice&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NUMB&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;479&lt;/span&gt;                         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;480&lt;/span&gt;                     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;481&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;482&lt;/span&gt;     
+&lt;span class='line'&gt;483&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;484&lt;/span&gt;     
+&lt;span class='line'&gt;485&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;486&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
 &lt;span class='line'&gt;487&lt;/span&gt;     
-&lt;span class='line'&gt;488&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;489&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;490&lt;/span&gt;     
-&lt;span class='line'&gt;491&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** fire a custom event of your choosing. Will notify any subscribers to that evt
-&lt;span class='line'&gt;492&lt;/span&gt;             You can also attach a payload to the event that will be added to the events
-&lt;span class='line'&gt;493&lt;/span&gt;             @param {DomElement} theTarget A dom element to fire the event on
-&lt;span class='line'&gt;494&lt;/span&gt;             @param {String} evt the Event to fire
-&lt;span class='line'&gt;495&lt;/span&gt;             @param {Object} opts (optional) the attributes to be attached to the event
-&lt;span class='line'&gt;496&lt;/span&gt;             
+&lt;span class='line'&gt;488&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** fire a custom event of your choosing. Will notify any subscribers to that evt
+&lt;span class='line'&gt;489&lt;/span&gt;             You can also attach a payload to the event that will be added to the events
+&lt;span class='line'&gt;490&lt;/span&gt;             @param {DomElement} theTarget A dom element to fire the event on
+&lt;span class='line'&gt;491&lt;/span&gt;             @param {String} evt the Event to fire
+&lt;span class='line'&gt;492&lt;/span&gt;             @param {Object} opts (optional) the attributes to be attached to the event
+&lt;span class='line'&gt;493&lt;/span&gt;             
+&lt;span class='line'&gt;494&lt;/span&gt;             @example
+&lt;span class='line'&gt;495&lt;/span&gt;               MBX.EventHandler.fireCustom($('element'), 'mycustomeevent');
+&lt;span class='line'&gt;496&lt;/span&gt;               
 &lt;span class='line'&gt;497&lt;/span&gt;             @example
-&lt;span class='line'&gt;498&lt;/span&gt;               MBX.EventHandler.fireCustom($('element'), 'mycustomeevent');
-&lt;span class='line'&gt;499&lt;/span&gt;               
-&lt;span class='line'&gt;500&lt;/span&gt;             @example
-&lt;span class='line'&gt;501&lt;/span&gt;               MBX.EventHandler.fireCustom($(&quot;element&quot;), 'mycustomevent', {
-&lt;span class='line'&gt;502&lt;/span&gt;                   theseAttributes: &quot;will be attached to the event&quot;
-&lt;span class='line'&gt;503&lt;/span&gt;               });
-&lt;span class='line'&gt;504&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;505&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;fireCustom&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;506&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;507&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isElement&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;508&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;509&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;510&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handleEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;511&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;512&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;callFunctionsFromIdOrObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;objects&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;513&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;514&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;515&lt;/span&gt;         
-&lt;span class='line'&gt;516&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** these functions will be fired as soon as the dom is ready (using prototypes dom:ready event)
-&lt;span class='line'&gt;517&lt;/span&gt;             @param {Function or Array} funcs the function(s) to be fired at the Dom Ready event
-&lt;span class='line'&gt;518&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;519&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;onDomReady&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;520&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;521&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;522&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;523&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;MBX.EventHandler.subscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;dom:loaded&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;524&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;525&lt;/span&gt;         
-&lt;span class='line'&gt;526&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//TEST FUNCTION ONLY!&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;527&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;dirSubscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;528&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;console.dir&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;529&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;530&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;dirEventListeners&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;531&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;console.dir&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;eventListeners&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;532&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;533&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;debugSubscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;534&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;535&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;536&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;537&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
-&lt;span class='line'&gt;538&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;
\ No newline at end of file
+&lt;span class='line'&gt;498&lt;/span&gt;               MBX.EventHandler.fireCustom($(&quot;element&quot;), 'mycustomevent', {
+&lt;span class='line'&gt;499&lt;/span&gt;                   theseAttributes: &quot;will be attached to the event&quot;
+&lt;span class='line'&gt;500&lt;/span&gt;               });
+&lt;span class='line'&gt;501&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;502&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;fireCustom&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;503&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;504&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isElement&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;505&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;CustomEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;506&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Event.extend&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;507&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;handleEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theEvent&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;508&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;509&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;callFunctionsFromIdOrObject&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;objects&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;getSubscriptionMarker&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;theTarget&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;opts&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;510&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;511&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;512&lt;/span&gt;         
+&lt;span class='line'&gt;513&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;/** Accepts functions that will be fired as soon as the dom is ready (using prototypes dom:loaded event)
+&lt;span class='line'&gt;514&lt;/span&gt;             @param {Function or Array} funcs the function(s) to be fired at the Dom Ready event
+&lt;span class='line'&gt;515&lt;/span&gt;             @returns a handler object that can be used to unsubscribe
+&lt;span class='line'&gt;516&lt;/span&gt;         */&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;517&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;onDomReady&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;518&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;Object.isArray&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;519&lt;/span&gt;                 &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;520&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;521&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;MBX.EventHandler.subscribe&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;STRN&quot;&gt;&quot;dom:loaded&quot;&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;funcs&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;522&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;523&lt;/span&gt;         
+&lt;span class='line'&gt;524&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;COMM&quot;&gt;//TEST FUNCTION ONLY!&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;525&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;dirSubscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;526&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;console.dir&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;527&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;528&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;dirEventListeners&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;529&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;console.dir&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;eventListeners&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;530&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;531&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;debugSubscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;532&lt;/span&gt;             &lt;/span&gt;&lt;span class=&quot;KEYW&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt; &lt;/span&gt;&lt;span class=&quot;NAME&quot;&gt;subscriptions&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;533&lt;/span&gt;         &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;534&lt;/span&gt;     &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;535&lt;/span&gt; &lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;PUNC&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;WHIT&quot;&gt;
+&lt;span class='line'&gt;536&lt;/span&gt; &lt;/span&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;
\ No newline at end of file</diff>
      <filename>docs/jsdoc/symbols/src/_Users_Topper_Sites_mbox_motionbox-eventhandler_src_event_handler.js.html</filename>
    </modified>
    <modified>
      <diff>@@ -312,13 +312,6 @@ MBX.EventHandler = (function () {
         return subscriptionArray;
     };
     
-    // utility functions
-    var isArray = function (obj) {
-        if (obj) {
-            return obj.constructor == Array;
-        }
-    };
-    
     var isId = function (specifierString) {
         return /^\#[\w-]+$/.test(specifierString);
     };
@@ -399,9 +392,14 @@ MBX.EventHandler = (function () {
             or:
             @example
               MBX.EventHandler.subscribe(&quot;p#blah.cool&quot;, &quot;click&quot;, function(evt) {console.dir(evt);});
+            @example
+              var someObj = {};
+              // the below will use a setTimeout to fire the function when &quot;myEvent&quot; is fired on someObj
+              MBX.EventHandler.subscribe(someObj, &quot;myEvent&quot;, function () {alert('hi'); }, {defer: true});
+              
             events may be custom events
             
-            @param {String} specifiers the class, id or CSS selector that you want to subscribe to
+            @param {String or Object or Array} specifiers the Object, class, id or CSS selector that you want to subscribe to (or array of any of those)
             @param {String or Array} evtTypes the types of events you want to subscribe to
             @param {Function or Array} funcs the functions you want to be called with this subscription
             @param {Object} opts Right now only takes a &quot;defer&quot; option which will fire functions with setTimeout
@@ -409,16 +407,15 @@ MBX.EventHandler = (function () {
             @returns A handler object that can be used to unsubscribe
             
             @see MBX.EventHandler.fireCustom.
-            returns an object you can use to unsubscribe
         */
         subscribe: function (specifiers, evtTypes, funcs, opts) {
-            if (!isArray(specifiers)) {
+            if (!Object.isArray(specifiers)) {
                 specifiers = [specifiers];
             }
-            if (!isArray(evtTypes)) {
+            if (!Object.isArray(evtTypes)) {
                 evtTypes = [evtTypes];
             }
-            if (!isArray(funcs)) {
+            if (!Object.isArray(funcs)) {
                 funcs = [funcs];
             }
             opts = opts || {};
@@ -456,7 +453,7 @@ MBX.EventHandler = (function () {
         },
         
         /** Unsubscribe a previous subscribed handler
-            @param {Object or Array} handlerObjects the handler objects that were originally passed to the
+            @param {Object} handlerObjects the handler objects that were originally passed to the
                                                     subscriptions
             @example
               var handlerObj = MBX.EventHandler.subscribe(&quot;#blah&quot;, &quot;click&quot;, function () {alert('hi')!});
@@ -513,8 +510,9 @@ MBX.EventHandler = (function () {
             }
         },
         
-        /** these functions will be fired as soon as the dom is ready (using prototypes dom:ready event)
+        /** Accepts functions that will be fired as soon as the dom is ready (using prototypes dom:loaded event)
             @param {Function or Array} funcs the function(s) to be fired at the Dom Ready event
+            @returns a handler object that can be used to unsubscribe
         */
         onDomReady: function (funcs) {
             if (!Object.isArray(funcs)) {</diff>
      <filename>src/event_handler.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>145bc1015b4d4914b2cd15283eaba530c8bda7ff</id>
    </parent>
  </parents>
  <author>
    <name>topper</name>
    <email>topper@toppingdesign.com</email>
  </author>
  <url>http://github.com/tobowers/motionbox-eventhandler/commit/58b95b829a641e545a26eb88a586a888391f0b1b</url>
  <id>58b95b829a641e545a26eb88a586a888391f0b1b</id>
  <committed-date>2008-07-29T19:19:59-07:00</committed-date>
  <authored-date>2008-07-29T19:19:59-07:00</authored-date>
  <message>docs</message>
  <tree>fe5847aa9accb2cc028af6461d6b0eec0a8bcc4f</tree>
  <committer>
    <name>topper</name>
    <email>topper@toppingdesign.com</email>
  </committer>
</commit>
