Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "unipointer", | ||
"main": "unipointer.js", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"eventEmitter": "~4.2.11" | ||
"ev-emitter": "~1.0.1" | ||
}, | ||
@@ -8,0 +7,0 @@ "homepage": "https://github.com/metafizzy/unipointer", |
{ | ||
"name": "unipointer", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Do one thing with one pointer", | ||
"main": "unipointer.js", | ||
"dependencies": { | ||
"wolfy87-eventemitter": "~4.2.11" | ||
"ev-emitter": "~1.0.1" | ||
}, | ||
@@ -9,0 +9,0 @@ "scripts": { |
/*! | ||
* Unipointer v2.0.0 | ||
* Unipointer v2.1.0 | ||
* base class for doing one thing with pointer event | ||
@@ -8,14 +8,12 @@ * MIT license | ||
/*jshint browser: true, undef: true, unused: true, strict: true */ | ||
/*global define: false, module: false, require: false */ | ||
( function( window, factory ) { | ||
'use strict'; | ||
// universal module definition | ||
/* jshint strict: false */ /*global define, module, require */ | ||
if ( typeof define == 'function' && define.amd ) { | ||
// AMD | ||
define( [ | ||
'eventEmitter/EventEmitter' | ||
], function( EventEmitter ) { | ||
return factory( window, EventEmitter ); | ||
'ev-emitter/ev-emitter' | ||
], function( EvEmitter ) { | ||
return factory( window, EvEmitter ); | ||
}); | ||
@@ -26,3 +24,3 @@ } else if ( typeof module == 'object' && module.exports ) { | ||
window, | ||
require('wolfy87-eventemitter') | ||
require('ev-emitter') | ||
); | ||
@@ -33,7 +31,7 @@ } else { | ||
window, | ||
window.EventEmitter | ||
window.EvEmitter | ||
); | ||
} | ||
}( window, function factory( window, EventEmitter ) { | ||
}( window, function factory( window, EvEmitter ) { | ||
@@ -46,4 +44,4 @@ 'use strict'; | ||
// inherit EventEmitter | ||
var proto = Unipointer.prototype = Object.create( EventEmitter.prototype ); | ||
// inherit EvEmitter | ||
var proto = Unipointer.prototype = Object.create( EvEmitter.prototype ); | ||
@@ -50,0 +48,0 @@ proto.bindStartEvent = function( elem ) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9553
283
+ Addedev-emitter@~1.0.1
+ Addedev-emitter@1.0.3(transitive)
- Removedwolfy87-eventemitter@~4.2.11
- Removedwolfy87-eventemitter@4.2.11(transitive)