most-subject
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -21,2 +21,11 @@ 'use strict'; | ||
}; | ||
this.add = function (x) { | ||
return _this._add(x); | ||
}; | ||
this.error = function (err) { | ||
return _this._error(err); | ||
}; | ||
this.end = function (x) { | ||
return _this._end(x); | ||
}; | ||
} | ||
@@ -43,3 +52,3 @@ | ||
Subscription.prototype.add = function add(x) { | ||
Subscription.prototype._add = function add(x) { | ||
if (!this.active) { | ||
@@ -51,3 +60,3 @@ return; | ||
Subscription.prototype.error = function error(e) { | ||
Subscription.prototype._error = function error(e) { | ||
this.active = false; | ||
@@ -65,3 +74,3 @@ this.sink.error(this.scheduler.now(), e); | ||
Subscription.prototype.end = function end(x) { | ||
Subscription.prototype._end = function end(x) { | ||
if (!this.active) { | ||
@@ -68,0 +77,0 @@ return; |
{ | ||
"name": "most-subject", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Subject implemented in Most", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
9401
231