Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

backbone-events-standalone

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-events-standalone - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

15

backbone-events-standalone.js

@@ -24,3 +24,2 @@ /**

var root = this,
breaker = {},
nativeForEach = Array.prototype.forEach,

@@ -63,3 +62,3 @@ hasOwnProperty = Object.prototype.hasOwnProperty,

for (var i = 0, l = obj.length; i < l; i++) {
if (iterator.call(context, obj[i], i, obj) === breaker) return;
iterator.call(context, obj[i], i, obj);
}

@@ -69,3 +68,3 @@ } else {

if (this.has(obj, key)) {
if (iterator.call(context, obj[key], key, obj) === breaker) return;
iterator.call(context, obj[key], key, obj);
}

@@ -268,7 +267,3 @@ }

// Export Events as BackboneEvents depending on current context
if (typeof define === "function") {
define(function() {
return Events;
});
} else if (typeof exports !== 'undefined') {
if (typeof exports !== 'undefined') {
if (typeof module !== 'undefined' && module.exports) {

@@ -278,2 +273,6 @@ exports = module.exports = Events;

exports.BackboneEvents = Events;
}else if (typeof define === "function") {
define(function() {
return Events;
});
} else {

@@ -280,0 +279,0 @@ root.BackboneEvents = Events;

{
"name": "backbone-events-standalone",
"description": "Standalone version of Backbone.Events",
"version": "0.2.4",
"version": "0.2.5",
"author": "Nicolas Perriault <nicolas@perriault.net>",

@@ -6,0 +6,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc