Skip to content

Commit

Permalink
removing can-util as dep
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed May 26, 2018
1 parent e2020b8 commit e1bb184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions can-simple-map.js
Original file line number Diff line number Diff line change
@@ -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");
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e1bb184

Please sign in to comment.