Comparing version 1.0.20 to 1.0.21
@@ -1,4 +0,4 @@ | ||
var arrayize; | ||
var arrayize, isObject, ref; | ||
arrayize = require("./_helpers").arrayize; | ||
ref = require("./_helpers"), arrayize = ref.arrayize, isObject = ref.isObject; | ||
@@ -47,14 +47,16 @@ module.exports = { | ||
merger.setup = function(obj) { | ||
var k, name, ref, target, v; | ||
var k, o, ref1, target, v; | ||
if (merger.target) { | ||
if (obj[name = merger.target] == null) { | ||
obj[name] = {}; | ||
if ((target = obj[merger.target]) == null) { | ||
if (merger.source === merger.target || !isObject(o = obj[merger.source])) { | ||
o = {}; | ||
} | ||
target = obj[merger.target] = o; | ||
} | ||
target = obj[merger.target]; | ||
} else { | ||
target = obj; | ||
if (obj[merger.source] != null) { | ||
ref = obj[merger.source]; | ||
for (k in ref) { | ||
v = ref[k]; | ||
ref1 = obj[merger.source]; | ||
for (k in ref1) { | ||
v = ref1[k]; | ||
if (obj[k] == null) { | ||
@@ -61,0 +63,0 @@ obj[k] = v; |
@@ -18,3 +18,4 @@ var arrayize, clone, concat, getID, instancesStr, isArray, isObject, isString, merger, ref, watchStr, | ||
merger.copy({ | ||
source: "watch" | ||
source: "watch", | ||
target: "_watch" | ||
}), merger.concat({ | ||
@@ -108,3 +109,3 @@ source: "data" | ||
var c, ref1, tmp, w; | ||
if (!o.__configured__ && (o.path != null) && this.watch !== Object.watch && ((tmp = (ref1 = this.watch) != null ? ref1[o.path] : void 0) != null)) { | ||
if (!o.__configured__ && (o.path != null) && ((tmp = (ref1 = this._watch) != null ? ref1[o.path] : void 0) != null)) { | ||
w = this.$watch; | ||
@@ -111,0 +112,0 @@ c = w.parse(tmp, true); |
{ | ||
"name": "ceri", | ||
"description": "Custom Elements enRIched", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"homepage": "https://github.com/cerijs/", | ||
@@ -6,0 +6,0 @@ "author": { |
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
125058
3851