can-stache-key
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -263,1 +263,7 @@ var observeReader = require("can-stache-key"); | ||
QUnit.test("writing to a null observable is ignored", function(){ | ||
observeReader.write({},"foo.bar", "value"); | ||
observeReader.write(null,"bar", "value"); | ||
observeReader.write(null,"foo.bar", "value"); | ||
QUnit.ok(true, "all passed without error"); | ||
}); |
@@ -297,3 +297,2 @@ var ObservationRecorder = require('can-observation-recorder'); | ||
options = options || {}; | ||
if(keys.length > 1) { | ||
@@ -306,2 +305,5 @@ last = keys.pop(); | ||
} | ||
if(!parent) { | ||
return; | ||
} | ||
var keyValue = peek(parent, last.key); | ||
@@ -308,0 +310,0 @@ // here's where we need to figure out the best way to write |
{ | ||
"name": "can-stache-key", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Read and write keys on a value", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com", |
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
25900
552