summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire')
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/jquery.fire.js171
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/custom.js61
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/form.js50
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/index.html26
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/key.js52
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mouse.js54
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mutation.js52
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/object.js50
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/requirements.js26
-rw-r--r--ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/touch.js61
10 files changed, 0 insertions, 603 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/jquery.fire.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/jquery.fire.js
deleted file mode 100644
index fd6f2ed6..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/jquery.fire.js
+++ /dev/null
@@ -1,171 +0,0 @@
-;(function( $, window ){
-
-/*
- http://www.w3.org/TR/DOM-Level-3-Events/#event-type-wheel
-*/
-
-// jQuery method
-$.fn.fire = function( type, opts ){
- opts = opts || {};
- // translate pageX to clientX
- if ( opts.pageX && !opts.clientX )
- opts.clientX = opts.pageX - $( window ).scrollLeft();
- // translate pageY to clientY
- if ( opts.pageY && !opts.clientY )
- opts.clientY = opts.pageY - $( window ).scrollTop();
- // iterate the jquery collection
- return this.each(function(){
- // clone options uniquely for each instance
- opts = $.extend( {}, $.fire.defaults, opts );
- // instanitate a new event
- new $.fire( this, type, opts );
- });
-};
-
-// Constructor
-$.fire = function( element, type, opts ){
- this.element = element;
- this.type = type;
- this.event = this.create( opts );
- this.dispatch();
-};
-
-// Defaults
-$.fire.defaults = {
- bubbles: true,
- cancelable: true,
- view: window,
- detail: 0,
- screenX: 0,
- screenY: 0,
- clientX: 0,
- clientY: 0,
- ctrlKey: false,
- altKey: false,
- shiftKey: false,
- metaKey: false,
- button: 0
-};
-
-// Methods
-$.fire.prototype = {
- create: function( opts ){
- switch ( this.type ){
- case "mousemove":
- opts.cancelable = false;
- case "mousedown":
- case "mouseup":
- case "mouseover":
- case "mouseout":
- case "click":
- case "dblclick":
- case "touchstart":
- case "touchmove":
- case "touchend":
- return this.mouse( opts );
- case "keyup":
- case "keypress":
- case "keydown":
- return this.key( opts );
- default:
- return this.event( opts );
- }
- },
- event: function( opts ){
- var event;
- if ( document.createEvent ){
- event = document.createEvent("HTMLEvents");
- event.initEvent(
- this.type,
- opts.bubbles,
- opts.cancelable
- );
- $.extend( event, {
- view: opts.view,
- detail: opts.detail,
- screenX: opts.screenX,
- screenY: opts.screenY,
- clientX: opts.clientX,
- clientY: opts.clientY,
- ctrlKey: opts.ctrlKey,
- altKey: opts.altKey,
- shiftKey: opts.shiftKey,
- metaKey: opts.metaKey,
- keyCode: opts.keyCode,
- charCode: opts.charCode,
- button: opts.button
- });
- }
- else if ( document.createEventObject ) {
- event = $.extend( document.createEventObject(), opts );
- }
- return event;
- },
- mouse: function( opts ){
- var event;
- if ( document.createEvent ){
- event = document.createEvent("MouseEvents");
- event.initMouseEvent(
- this.type,
- opts.bubbles,
- opts.cancelable,
- opts.view,
- opts.detail,
- opts.screenX,
- opts.screenY,
- opts.clientX,
- opts.clientY,
- opts.ctrlKey,
- opts.altKey,
- opts.shiftKey,
- opts.metaKey,
- opts.button,
- $( opts.relatedTarget )[0] || document.body.parentNode
- );
- }
- else if ( document.createEventObject ) {
- event = this.event();
- event.button = { 0:1, 1:4, 2:2 }[ event.button ] || event.button;
- }
- return event;
- },
- key: function( opts ){
- var event;
- if ( document.createEvent ) {
- try {
- event = document.createEvent("KeyEvents");
- event.initKeyEvent(
- this.type,
- opts.bubbles,
- opts.cancelable,
- opts.view,
- opts.ctrlKey,
- opts.altKey,
- opts.shiftKey,
- opts.metaKey,
- opts.keyCode,
- opts.charCode
- );
- }
- catch ( err ){
- event = this.event( opts );
- }
- }
- else if ( document.createEventObject ){
- event = this.event( opts );
- }
- if ( $.browser.msie || $.browser.opera ){
- event.keyCode = opts.charCode > 0 ? opts.charCode : opts.keyCode;
- event.charCode = undefined;
- }
- return event;
- },
- dispatch: function(){
- if ( this.element.dispatchEvent )
- this.element.dispatchEvent( this.event );
- else if ( this.element.fireEvent )
- this.element.fireEvent( 'on'+this.type, this.event );
- }
-};
-
-})( jQuery, window ); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/custom.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/custom.js
deleted file mode 100644
index 8e9fbce4..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/custom.js
+++ /dev/null
@@ -1,61 +0,0 @@
-module("Custom Events");
-
-if ( !document.createEvent ){
- test("Custom Event Simulation Not Supported",function(){
- ok( true, 'This browser does not support "document.createEvent" and cannot simulate custom events.');
- });
-}
-else {
-
- // test each of the following events
- $.each([
- "snap","crackle","pop"
- ],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 33 );
-
- // custom event properties
- var props = {
- pageX: Math.round( Math.random() * 500 ),
- pageY: Math.round( Math.random() * 500 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false,
- button: Math.round( Math.random() * 2 )
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
- equals( ev.pageX, props.pageX, "event.pageX" );
- equals( ev.pageY, props.pageY, "event.pageY" );
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.button, props.button, "event.button" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
- });
-
-} \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/form.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/form.js
deleted file mode 100644
index 973e587c..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/form.js
+++ /dev/null
@@ -1,50 +0,0 @@
-module("Form Events");
-
-// test each of the following events
-$.each([
- "focus","blur","change",
- "submit","select","reset"
-],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 0 );
-
- // custom event properties
- var props = {
- //keyCode: Math.round( Math.random() * 256 ),
- //charCode: Math.round( Math.random() * 256 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
-
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/index.html b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/index.html
deleted file mode 100644
index 0b3e7e2d..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href="../../img/favicon.ico" rel="shortcut icon" />
- <link href="../../jquery/qunit.css" rel="stylesheet" />
- <script src="../../jquery/jquery.js"></script>
- <script src="../../jquery/qunit.js"></script>
- <script src="../../fire/jquery.fire.js"></script>
- <script src="./requirements.js"></script>
- <script src="./mouse.js"></script>
- <script src="./touch.js"></script>
- <script src="./key.js"></script>
- <script src="./form.js"></script>
- <script src="./object.js"></script>
- <script src="./mutation.js"></script>
- <script src="./custom.js"></script>
- <title>ThreeDubMedia &middot; jQuery.fire.js</title>
- </head>
- <body>
- <h1 id="qunit-header">jQuery.fire.js Unit Tests</h1>
- <h2 id="qunit-banner"></h2>
- <h2 id="qunit-userAgent"></h2>
- <ol id="qunit-tests"></ol>
- </body>
-</html> \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/key.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/key.js
deleted file mode 100644
index 3ff0b27f..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/key.js
+++ /dev/null
@@ -1,52 +0,0 @@
-module("Key Events");
-
-// test each of the following events
-$.each([
- "keydown","keyup","keypress"
-],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( i < 2 ? 27 : 30 );
-
- // custom event properties
- var props = {
- keyCode: Math.round( Math.random() * 256 ),
- charCode: Math.round( Math.random() * 256 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
- equals( ev.keyCode, props.keyCode, "event.keyCode" );
- if ( type == "keypress" ){
- equals( ev.charCode, props.charCode, "event.charCode" );
- }
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mouse.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mouse.js
deleted file mode 100644
index 8e25d785..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mouse.js
+++ /dev/null
@@ -1,54 +0,0 @@
-module("Mouse Events");
-
-// test each of the following events
-$.each([
- "click","dblclick",
- "mouseover","mouseout",
- "mousedown","mouseup","mousemove"
-],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 33 );
-
- // custom event properties
- var props = {
- pageX: Math.round( Math.random() * 500 ),
- pageY: Math.round( Math.random() * 500 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false,
- button: Math.round( Math.random() * 2 )
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
- equals( ev.pageX, props.pageX, "event.pageX" );
- equals( ev.pageY, props.pageY, "event.pageY" );
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.button, props.button, "event.button" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mutation.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mutation.js
deleted file mode 100644
index 340f6418..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/mutation.js
+++ /dev/null
@@ -1,52 +0,0 @@
-module("Mutation Events");
-
-// test each of the following events
-$.each([
- "DOMSubtreeModified","DOMNodeInserted",
- "DOMNodeRemoved","DOMNodeRemovedFromDocument",
- "DOMNodeInsertedIntoDocument","DOMAttrModified",
- "DOMCharacterDataModified"
-],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 0 );
-
- // custom event properties
- var props = {
- //keyCode: Math.round( Math.random() * 256 ),
- //charCode: Math.round( Math.random() * 256 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
-
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/object.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/object.js
deleted file mode 100644
index 27193dc0..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/object.js
+++ /dev/null
@@ -1,50 +0,0 @@
-module("Object/Frame Events");
-
-// test each of the following events
-$.each([
- "abort","scroll","resize",
- "error","load","unload"
-],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 0 );
-
- // custom event properties
- var props = {
- //keyCode: Math.round( Math.random() * 256 ),
- //charCode: Math.round( Math.random() * 256 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
-
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/requirements.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/requirements.js
deleted file mode 100644
index fcc369e8..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/requirements.js
+++ /dev/null
@@ -1,26 +0,0 @@
-module("Requirements");
-
-test("jQuery",function(){
-
- expect( 2 );
-
- // make sure the right jquery is included
- ok( window.jQuery, "jQuery exists" );
- ok( parseFloat( jQuery([]).jquery ) >= 1.4, "jQuery version is 1.4 or greater" );
-
-});
-
-test("Installation",function(){
-
- expect( 8 );
-
- // make sure the plugin interface is complete
- ok( jQuery.fn.fire, "FIRE method is defined" );
- ok( jQuery.fire, "CONSTRUCTOR is defined" );
- ok( jQuery.fire.defaults, "DEFAULTS are defined" );
- ok( jQuery.fire.prototype.create, "CREATE method is defined" );
- ok( jQuery.fire.prototype.event, "EVENT method is defined" );
- ok( jQuery.fire.prototype.mouse, "MOUSE method is defined" );
- ok( jQuery.fire.prototype.key, "KEY method is defined" );
- ok( jQuery.fire.prototype.dispatch, "DISPATCH method is defined" );
-}); \ No newline at end of file
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/touch.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/touch.js
deleted file mode 100644
index aa05bb67..00000000
--- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/fire/test/touch.js
+++ /dev/null
@@ -1,61 +0,0 @@
-module("Touch Events");
-
-if ( !document.createEvent ){
- test("Touch Simulation Not Supported",function(){
- ok( true, 'This browser does not support "document.createEvent" and cannot simulate touch events.');
- });
-}
-else {
-
- // test each of the following events
- $.each([
- "touchstart","touchmove","touchend"
- ],function( i, type ){
- // test each event type
- test( '"'+ type +'"', function(){
- expect( 33 );
-
- // custom event properties
- var props = {
- pageX: Math.round( Math.random() * 500 ),
- pageY: Math.round( Math.random() * 500 ),
- ctrlKey: Math.round( Math.random() ) ? true : false,
- altKey: Math.round( Math.random() ) ? true : false,
- shiftKey: Math.round( Math.random() ) ? true : false,
- button: Math.round( Math.random() * 2 )
- },
- // new test element
- $div = $('<div/>').appendTo( document.body );
- // test the document too for bubbling
- $div.add( document ).bind( type, function( ev ){
-
- equals( ev.currentTarget, this, "event.currentTarget");
- equals( ev.target, $div[0], "event.target" );
- equals( ev.type, type, "event.type" );
- equals( ev.pageX, props.pageX, "event.pageX" );
- equals( ev.pageY, props.pageY, "event.pageY" );
- equals( ev.ctrlKey, props.ctrlKey, "event.ctrlKey" );
- equals( ev.altKey, props.altKey, "event.altKey" );
- equals( ev.shiftKey, props.shiftKey, "event.shiftKey" );
- equals( ev.metaKey, props.metaKey, "event.metaKey" );
- equals( ev.button, props.button, "event.button" );
- equals( ev.bubbles, props.bubbles, "event.bubbles" );
- });
-
- // make sure that metaKey and ctrlKey are equal
- props.metaKey = props.ctrlKey;
- // fire the event with bubbling
- props.bubbles = true;
- $div.fire( type, props );
-
- // fire the event without bubbling
- props.bubbles = false;
- $div.fire( type, props );
-
- // cleanup
- $( document ).unbind( type );
- $div.remove();
- });
- });
-
-} \ No newline at end of file