reactive-replica
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -171,3 +171,3 @@ 'use strict'; | ||
} | ||
}); | ||
}, path); | ||
return result; | ||
@@ -174,0 +174,0 @@ } |
21
index.js
@@ -151,13 +151,16 @@ | ||
let result = new Rx.ReplaySubject( 1 ) | ||
this.listen( { | ||
create : true, | ||
change : function( after, before ) | ||
this.listen( | ||
{ | ||
result.next( after ) | ||
create : true, | ||
change : function( after, before ) | ||
{ | ||
result.next( after ) | ||
}, | ||
remove : function() | ||
{ | ||
result.next( undefined ) | ||
} | ||
}, | ||
remove : function() | ||
{ | ||
result.next( undefined ) | ||
} | ||
} ) | ||
path | ||
) | ||
return result | ||
@@ -164,0 +167,0 @@ } |
{ | ||
"name": "reactive-replica", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Helps structure logic around model changes, i.e. utilize reactive style.", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
56405
1658