Comparing version 4.1.0 to 4.1.1
@@ -31,3 +31,2 @@ "use strict"; | ||
var CID = require("can-cid"); | ||
//var isFunction = require("can-util/js/is-function/is-function"); | ||
var assign = require("can-assign"); | ||
@@ -34,0 +33,0 @@ var types = require("can-types"); |
@@ -6,6 +6,4 @@ "use strict"; | ||
// `can.Map` handles cycles in objects nicely! | ||
var isPlainObject = require('can-util/js/is-plain-object/is-plain-object'); | ||
var isPromise = require('can-util/js/is-promise/is-promise'); | ||
var CID = require('can-cid'); | ||
var assign = require('can-util/js/assign/assign'); | ||
var assign = require("can-assign"); | ||
var canReflect = require('can-reflect'); | ||
@@ -46,3 +44,3 @@ // ## POJOs to Map instance helpers | ||
canMakeObserve: function (obj) { | ||
return obj && !isPromise(obj) && (Array.isArray(obj) || isPlainObject(obj) ); | ||
return obj && !canReflect.isPromise(obj) && (Array.isArray(obj) || canReflect.isPlainObject(obj) ); | ||
}, | ||
@@ -49,0 +47,0 @@ reflectSerialize: function(unwrapped){ |
{ | ||
"name": "can-map", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Observable Objects", | ||
@@ -5,0 +5,0 @@ "homepage": "http://canjs.com", |
78863
1522