Comparing version 1.0.0 to 1.1.0
{ | ||
"name" : "on", | ||
"description" : "on.js is a tiny custom event library", | ||
"version" : "1.0.0", | ||
"engines" : [ "node >=0.4.4" ], | ||
"author" : "Tom Yandell <tom.deletethis@yandell.me.uk> (http://tom.yandell.me.uk/blog/)", | ||
"version" : "1.1.0", | ||
"author" : "Tom Yandell <tom.deletethis@yandell.me.uk> (http://github.com/tomyan)", | ||
"license" : "MIT", | ||
"main" : "./lib/on.js", | ||
@@ -12,4 +12,5 @@ "repository" : { | ||
}, | ||
"homepage" : "http://github.com/usenode/on.js" | ||
"homepage" : "https://npmjs.org/package/on", | ||
"keywords" : [ "event", "events", "custom events", "pubsub", "tiny" ] | ||
} | ||
@@ -1,6 +0,7 @@ | ||
# on.js # | ||
Custom event system for JavaScript, inspired by [JS-Signals](http://millermedeiros.github.com/js-signals/). | ||
Custom event system for JavaScript, inspired by [JS-Signals](http://millermedeiros.github.com/js-signals/). on.js differs from Signals in that it has slighly fewer features (by design) and encourages a slighly different interface. See "Why another Event Library" below for why this library exists and why you might use it. | ||
on.js differs from Signals in that it has slighly fewer features (by design) and encourages a slighly different interface. See "Why another Event Library" below for why this library exists and why you might use it. | ||
## Installing on.js ## | ||
Installing | ||
---------- | ||
@@ -13,16 +14,17 @@ To install using [NPM](http://npmjs.org/): | ||
* [Minified with module ID](https://github.com/downloads/tomyan/on.js/on.named.js) (recommended) | ||
* [Minified without module ID](https://github.com/downloads/tomyan/on.js/on.js) | ||
* [Minified with module ID](https://github.com/downloads/usenode/on.js/on.named.js) (recommended) | ||
* [Minified without module ID](https://github.com/downloads/usenode/on.js/on.js) | ||
Unminified versions are provided for debugging purposes: | ||
* [Unminified with module ID](https://github.com/downloads/tomyan/on.js/on.named.debug.js) | ||
* [Unminified without module ID](https://github.com/downloads/tomyan/on.js/on.debug.js) | ||
* [Unminified with module ID](https://github.com/downloads/usenode/on.js/on.named.debug.js) | ||
* [Unminified without module ID](https://github.com/downloads/usenode/on.js/on.debug.js) | ||
If you're unlucky enough to be directly writing script tags to load JavaScript, you can use the following to load on.js: | ||
* [Minified](https://github.com/downloads/tomyan/on.js/on.global.js) | ||
* [Unminified](https://github.com/downloads/tomyan/on.js/on.global.debug.js) | ||
* [Minified](https://github.com/downloads/usenode/on.js/on.global.js) | ||
* [Unminified](https://github.com/downloads/usenode/on.js/on.global.debug.js) | ||
## Loading on.js ## | ||
Loading on.js | ||
------------- | ||
@@ -43,3 +45,4 @@ ### ...in a Browser (AMD) ### | ||
## Using on.js ## | ||
Using on.js | ||
----------- | ||
@@ -129,3 +132,4 @@ on.js is designed to allow objects to publish events that can be subscribed to by one or more interested parties. The recommend way to publish an event is to use `on` within an object's prototype function: | ||
## Why Another Event Library? ## | ||
Why Another Event Library? | ||
-------------------------- | ||
@@ -138,9 +142,15 @@ I really like the design of [JS-Signals](http://millermedeiros.github.com/js-signals/). I have been a proponent of that library where I work, encouraging its successful adoption. | ||
## License ## | ||
License | ||
------- | ||
[The MIT License](http://www.opensource.org/licenses/mit-license.php) | ||
The MIT License (MIT) | ||
## Copyright ## | ||
Copyright (C) 2013 by <a href="https://github.com/tomyan/on.js/commits/master">the project's contributors</a>. | ||
Copyright [Thomas Yandell](<tom+deletethis@yandell.me.uk>) 2011-2012 | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
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
14087
10
153
67