diff --git a/can-simple-map.js b/can-simple-map.js index 09107ff..506e1a2 100644 --- a/can-simple-map.js +++ b/can-simple-map.js @@ -1,7 +1,6 @@ var Construct = require("can-construct"); var eventQueue = require("can-event-queue/map/map"); var queues = require("can-queues"); -var each = require("can-util/js/each/each"); var ObservationRecorder = require("can-observation-recorder"); var canReflect = require("can-reflect"); var dev = require("can-log/dev/dev"); @@ -40,7 +39,7 @@ var SimpleMap = Construct.extend("SimpleMap", if(arguments.length === 0 ) { ObservationRecorder.add(this,"can.keys"); var data = {}; - each(this._data, function(value, prop){ + canReflect.eachKey(this._data, function(value, prop){ ObservationRecorder.add(this, prop); data[prop] = value; }, this); diff --git a/package.json b/package.json index 37bcb38..3cbe883 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,7 @@ "can-observation-recorder": "^1.0.0", "can-queues": "^1.0.0", "can-reflect": "^1.2.1", - "can-symbol": "^1.0.0", - "can-util": "^3.9.0" + "can-symbol": "^1.0.0" }, "devDependencies": { "detect-cyclic-packages": "^1.1.0",