Comparing version 1.4.1 to 1.4.2
@@ -307,2 +307,12 @@ var DefineMap = require('can-define/map/map'); | ||
QUnit.test("can merge array of primitives (#10)", function(){ | ||
var listA = ["a","b","c"]; | ||
var listB = ["a","c"]; | ||
smartMerge(listA,listB); | ||
QUnit.deepEqual(listA,["a","c"]); | ||
}); | ||
/* | ||
@@ -309,0 +319,0 @@ QUnit.test('smartMerge can-connect behavior', function(assert) { |
@@ -100,3 +100,6 @@ "use strict"; | ||
// If id is the same we merge data in. Case #2 | ||
mergeMap(a, b); | ||
if(! canReflect.isPrimitive(a) ) { | ||
mergeMap(a, b); | ||
} | ||
} | ||
@@ -103,0 +106,0 @@ return eq; |
{ | ||
"name": "can-diff", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Diffing helpers for can-reflect", | ||
@@ -5,0 +5,0 @@ "homepage": "http://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
64564
1558