Comparing version 0.1.4 to 0.1.6
{ | ||
"name": "scheming", | ||
"version": "0.1.4", | ||
"version": "0.1.6", | ||
"main": "dest/Scheming.js", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -23,3 +23,3 @@ (function() { | ||
now = Math.floor(now / 16); | ||
return (c === "x" ? r : r & 0x7 | 0x8).toString(16); | ||
return (c === "x" ? r : r & 0x3 | 0x8).toString(16); | ||
}); | ||
@@ -562,5 +562,3 @@ }; | ||
_ref = normalizedSchema[propName], type = _ref.type, setter = _ref.setter; | ||
if (val === void 0) { | ||
return data[propName] = val; | ||
} else { | ||
if (val !== void 0) { | ||
if (!type.identifier(val)) { | ||
@@ -578,8 +576,8 @@ if (strict) { | ||
} | ||
if (!type.equals(prevVal, val)) { | ||
data[propName] = val; | ||
watchForPropagation(propName, val); | ||
return cm.queueChanges(id, propName, prevVal, fireWatchers); | ||
} | ||
} | ||
if (!type.equals(prevVal, val)) { | ||
data[propName] = val; | ||
watchForPropagation(propName, val); | ||
return cm.queueChanges(id, propName, prevVal, fireWatchers); | ||
} | ||
}; | ||
@@ -641,2 +639,5 @@ get = function(propName) { | ||
type = normalizedSchema[propName].type; | ||
if (val === void 0) { | ||
return; | ||
} | ||
if (type.string === NESTED_TYPES.Schema.string) { | ||
@@ -643,0 +644,0 @@ if (typeof unwatchers[propName] === "function") { |
{ | ||
"name": "scheming", | ||
"version": "0.1.4", | ||
"version": "0.1.6", | ||
"main": "./dest/Scheming.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/autoric/scheming", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
461096
2293