Skip to content

Commit

Permalink
cleanup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Baker committed Oct 26, 2017
1 parent 768ece9 commit 00b9c19
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions can-simple-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ var each = require("can-util/js/each/each");
var types = require("can-types");
var ObservationRecorder = require("can-observation-recorder");
var canReflect = require("can-reflect");
var CIDMap = require("can-cid/map/map");
var dev = require("can-log/dev/dev");
var canSymbol = require("can-symbol");

Expand Down Expand Up @@ -90,7 +89,7 @@ var SimpleMap = Construct.extend("SimpleMap",
}
},
serialize: function(){
return canReflect.serialize(this, CIDMap);
return canReflect.serialize(this, Map);
},
get: function(){
return this.attr.apply(this, arguments);
Expand Down Expand Up @@ -131,11 +130,6 @@ var SimpleMap = Construct.extend("SimpleMap",

eventQueue(SimpleMap.prototype);

if(!types.DefaultMap) {
types.DefaultMap = SimpleMap;
}


canReflect.assignSymbols(SimpleMap.prototype,{
// -type-
"can.isMapLike": true,
Expand Down

0 comments on commit 00b9c19

Please sign in to comment.