objectstate
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -19,8 +19,7 @@ // Copyright 2014 Urban Airship and Contributors | ||
proto.wait = function(fn) { | ||
var emit = this.emit | ||
, should_emit = 0 | ||
var should_emit = false | ||
// shadow the prototype property | ||
this.emit = function() { | ||
++should_emit | ||
should_emit = true | ||
} | ||
@@ -27,0 +26,0 @@ |
{ | ||
"name": "objectstate", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Lightweight, streaming state management.", | ||
@@ -34,3 +34,6 @@ "main": "index", | ||
}, | ||
"homepage": "https://github.com/urbanairship/objectstate" | ||
"homepage": "https://github.com/urbanairship/objectstate", | ||
"scripts": { | ||
"test": "node ./test.js" | ||
} | ||
} |
# ObjectState | ||
[![Build Status](http://img.shields.io/travis/urbanairship/objectstate.svg?style=flat)](https://travis-ci.org/urbanairship/objectstate) | ||
[![npm install](http://img.shields.io/npm/dm/objectstate.svg?style=flat)](https://www.npmjs.org/package/objectstate) | ||
`objectstate` exports a function that constructs a stream. The stream is | ||
@@ -4,0 +7,0 @@ designed to be the source of truth for the state of a system. It represents |
Sorry, the diff of this file is not supported yet
153
15451
346