Comparing version 0.2.70 to 0.2.71
{ | ||
"name": "clappr", | ||
"description": "An extensible media player for the web", | ||
"version": "0.2.70", | ||
"version": "0.2.71", | ||
"homepage": "https://github.com/clappr/clappr", | ||
@@ -6,0 +6,0 @@ "authors": [ |
{ | ||
"name": "clappr", | ||
"version": "0.2.70", | ||
"version": "0.2.71", | ||
"description": "An extensible media player for the web", | ||
@@ -5,0 +5,0 @@ "main": "./dist/clappr.js", |
@@ -86,7 +86,7 @@ // Copyright 2014 Globo.com Player authors. All rights reserved. | ||
if (!eventsApi(this, 'once', name, [callback, context]) || !callback) {return this} | ||
const once = () => { | ||
this.off(name, once) | ||
callback.apply(context || this, arguments) | ||
const off = () => this.off(name, once) | ||
const once = function() { | ||
off(name, once) | ||
callback.apply(this, arguments) | ||
} | ||
once._callback = callback | ||
return this.on(name, once, context) | ||
@@ -93,0 +93,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
35565
3813059