Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "PubSubJS", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"main": "src/pubsub.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
{ | ||
"name": "pubsub-js", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Dependency free publish/subscribe library", | ||
@@ -5,0 +5,0 @@ "main": "./src/pubsub.js", |
# PubSubJS | ||
[![Build Status](https://travis-ci.org/mroderick/PubSubJS.png)](https://travis-ci.org/mroderick/PubSubJS) [![NPM version](https://badge.fury.io/js/pubsub-js.png)](http://badge.fury.io/js/pubsub-js) [![Dependencies](https://david-dm.org/mroderick/PubSubJS.svg)](https://david-dm.org/mroderick/PubSubJS) [![Dependency status](https://david-dm.org/mroderick/PubSubJS/dev-status.png)](https://david-dm.org/mroderick/PubSubJS#info=devDependencies&view=table) | ||
[![Travis build status](https://img.shields.io/travis/mroderick/PubSubJS.svg)](https://travis-ci.org/mroderick/PubSubJS) [![David](https://img.shields.io/david/mroderick/pubsubjs.svg)](https://david-dm.org/mroderick/PubSubJS) [![David](https://img.shields.io/david/dev/mroderick/pubsubjs.svg)](https://david-dm.org/mroderick/PubSubJS#info=devDependencies&view=table) | ||
![npm version](https://img.shields.io/npm/v/pubsub-js.svg) ![npm license](https://img.shields.io/npm/l/pubsub-js.svg) ![npm downloads per month](https://img.shields.io/npm/dm/pubsub-js.svg) | ||
![Bower version](https://img.shields.io/bower/v/pubsub-js.svg) | ||
@@ -11,4 +13,2 @@ PubSubJS is a [topic-based](http://en.wikipedia.org/wiki/Publish–subscribe_pattern#Message_filtering) [publish/subscribe](http://en.wikipedia.org/wiki/Publish/subscribe) library written in JavaScript. | ||
For benchmarks, see [A Comparison of JS Publish/Subscribe Approaches](http://jsperf.com/pubsubjs-vs-jquery-custom-events/51) | ||
#### Single process | ||
@@ -34,3 +34,4 @@ | ||
* Install via npm (`npm install pubsub-js`) | ||
* Intall via bower (`bower install pubsub-js`) | ||
* Install via bower (`bower install pubsub-js`) | ||
* Use it via CDN directly (http://www.jsdelivr.com/#!pubsubjs) | ||
@@ -37,0 +38,0 @@ ## Examples |
@@ -18,8 +18,9 @@ /* | ||
} else { | ||
// Browser globals | ||
var PubSub = {}; | ||
root.PubSub = PubSub; | ||
factory(PubSub); | ||
} | ||
// Browser globals | ||
var PubSub = {}; | ||
root.PubSub = PubSub; | ||
factory(PubSub); | ||
}(( typeof window === 'object' && window ) || this, function (PubSub){ | ||
@@ -26,0 +27,0 @@ 'use strict'; |
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
304153
249
8781