jss-plugin-rule-value-observable
Advanced tools
Comparing version 10.0.1 to 10.0.2
@@ -1148,4 +1148,2 @@ function symbolObservablePonyfill(root) { | ||
this.queue = void 0; | ||
this.update = void 0; | ||
this.updateOne = void 0; | ||
this.attached = false; | ||
@@ -1167,4 +1165,2 @@ this.deployed = false; | ||
this.rules = new RuleList(this.options); | ||
this.update = this.rules.update.bind(this.rules); | ||
this.updateOne = this.rules.updateOne.bind(this.rules); | ||
@@ -1309,2 +1305,23 @@ for (var name in styles) { | ||
/** | ||
* Update the function values with a new data. | ||
*/ | ||
; | ||
_proto.update = function update() { | ||
var _this$rules; | ||
(_this$rules = this.rules).update.apply(_this$rules, arguments); | ||
return this; | ||
} | ||
/** | ||
* Updates a single rule. | ||
*/ | ||
; | ||
_proto.updateOne = function updateOne(rule, data, options) { | ||
this.rules.updateOne(rule, data, options); | ||
return this; | ||
} | ||
/** | ||
* Convert rules to a CSS string. | ||
@@ -2056,3 +2073,3 @@ */ | ||
this.id = instanceCounter++; | ||
this.version = "10.0.1"; | ||
this.version = "10.0.2"; | ||
this.plugins = new PluginsRegistry(); | ||
@@ -2059,0 +2076,0 @@ this.options = { |
{ | ||
"name": "jss-plugin-rule-value-observable", | ||
"description": "JSS plugin for TC39 Observables support", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"license": "MIT", | ||
@@ -44,6 +44,6 @@ "homepage": "https://cssinjs.org/", | ||
"@babel/runtime": "^7.3.1", | ||
"jss": "10.0.1", | ||
"jss": "10.0.2", | ||
"symbol-observable": "^1.2.0" | ||
}, | ||
"gitHead": "caaa314acc24deda0c8a6b11afe9c15787598741" | ||
"gitHead": "4fb859cceef620d0e54d7039fc5db65dd6012ebc" | ||
} |
@@ -12,3 +12,3 @@ # jss-plugin-rule-value-observable | ||
See our website [jss-plugin-rule-value-observable](https://cssinjs.org/jss-plugin-rule-value-observable?v=v10.0.1) for more information. | ||
See our website [jss-plugin-rule-value-observable](https://cssinjs.org/jss-plugin-rule-value-observable?v=v10.0.2) for more information. | ||
@@ -15,0 +15,0 @@ ## Install |
83908
2448
+ Addedjss@10.0.2(transitive)
- Removedjss@10.0.1(transitive)
Updatedjss@10.0.2