Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "baconjs", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "./lib/Bacon.js" | ||
} |
{ | ||
"name" : "baconjs", | ||
"version" : "0.0.5", | ||
"version" : "0.0.6", | ||
"author" : "Juha Paananen", | ||
@@ -5,0 +5,0 @@ "licenses" : ["MIT"], |
@@ -25,2 +25,19 @@ Bacon.js | ||
Install | ||
======= | ||
You can download the latest [generated javascript](https://raw.github.com/raimohanska/bacon.js/master/lib/Bacon.js). | ||
..or you can use script tags to include this file directly from Github: | ||
<script src="https://raw.github.com/raimohanska/bacon.js/master/lib/Bacon.js"></script> | ||
If you're targeting to [node.js](http://nodejs.org/), you can | ||
npm install baconjs | ||
For [bower](https://github.com/twitter/bower) users: | ||
bower install bacon | ||
Intro | ||
@@ -180,3 +197,3 @@ ===== | ||
`streamOrProperty.do(f)` returns a stream/property where the function f | ||
`streamOrProperty.doAction(f)` returns a stream/property where the function f | ||
is executed for each value, before dispatching to subscribers. This is | ||
@@ -186,3 +203,5 @@ useful for debugging, but also for stuff like calling the | ||
also use a property-extractor string instead of a function, as in | ||
".preventDefault". | ||
".preventDefault". The old name for | ||
this method is `do` which is temporarily supported for backward | ||
compatibility. | ||
@@ -205,5 +224,7 @@ `streamOrProperty.not()` returns a stream/property that inverts boolean | ||
`streamOrProperty.switch(f)` like flatMap, but instead of including events from | ||
`streamOrProperty.flatMapLatest(f)` like flatMap, but instead of including events from | ||
all spawned streams, only includes them from the latest spawned stream. | ||
You can think this as switching from stream to stream | ||
You can think this as switching from stream to stream. The old name for | ||
this method is `switch` which is temporarily supported for backward | ||
compatibility. | ||
@@ -463,4 +484,6 @@ | ||
`stream.do(".preventDefault")` would call the "preventDefault" method of | ||
stream values. | ||
`stream.doAction(".preventDefault")` would call the "preventDefault" method of | ||
stream values. The old name for | ||
this method is `do` which is temporarily supported for backward | ||
compatibility. | ||
@@ -467,0 +490,0 @@ `stream.filter(".attr", "disabled").not()` would call `.attr("disabled")` on |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
419675
752