airwaves
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.6.1 | ||
// Generated by CoffeeScript 1.7.1 | ||
@@ -7,10 +7,9 @@ /* | ||
Broadcast on a dedicated frequency | ||
Copyright 2012, David Chambers | ||
*/ | ||
Copyright 2012..2014, David Chambers | ||
*/ | ||
(function() { | ||
var Channel, airwaves, remove, split, subscribe, | ||
__slice = [].slice, | ||
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
__indexOf = [].indexOf || /* istanbul ignore next */ function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
@@ -65,3 +64,2 @@ remove = function(array, value) { | ||
Channel = (function() { | ||
function Channel() { | ||
@@ -141,7 +139,11 @@ this.subscriptions = {}; | ||
Channel: Channel, | ||
version: '0.2.2' | ||
version: '0.3.0' | ||
}; | ||
/* istanbul ignore next */ | ||
if (typeof module !== 'undefined') { | ||
module.exports = airwaves; | ||
} else if (typeof define === 'function' && define.amd) { | ||
define(airwaves); | ||
} else { | ||
@@ -148,0 +150,0 @@ window.airwaves = airwaves; |
{ | ||
"name": "airwaves", | ||
"version": "0.2.2", | ||
"author": "David Chambers <dc@hashify.me>", | ||
"keywords": ["pubsub", "publish", "subscribe", "broadcast", "message"], | ||
"version": "0.3.0", | ||
"author": "David Chambers <dc@davidchambers.me>", | ||
"keywords": [ | ||
"pubsub", | ||
"publish", | ||
"subscribe", | ||
"broadcast", | ||
"message" | ||
], | ||
"main": "./lib/airwaves", | ||
@@ -12,6 +18,7 @@ "repository": { | ||
"devDependencies": { | ||
"coffee-script": "1.6.x", | ||
"mocha": "1.8.x", | ||
"should": "1.2.x" | ||
"coffee-script": "1.7.x", | ||
"istanbul": "0.2.x", | ||
"mocha": "1.20.x", | ||
"xyz": "0.4.x" | ||
} | ||
} |
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
19324
10
133
0
4