Skip to content

Commit

Permalink
removing can-util
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Jun 6, 2018
1 parent f2d5611 commit ca29535
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions can-stache-route-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var helpers = require('can-stache/helpers/core');
var route = require('can-route');

var stacheExpression = require('can-stache/src/expression');
var each = require("can-util/js/each/each");
var canReflect = require("can-reflect");

var looksLikeOptions = helpers.looksLikeOptions;

Expand All @@ -11,7 +11,7 @@ var calculateArgs = function(){
finalMerge,
optionsArg;

each(arguments, function(arg){
canReflect.eachIndex(arguments, function(arg){
if(typeof arg === "boolean") {
finalMerge = arg;
} else if( arg && typeof arg === "object" ) {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
]
},
"dependencies": {
"can-route": "^4.0.0-pre.0",
"can-stache": "^4.0.0-pre.31"
"can-reflect": "^1.16.3",
"can-route": "^4.0.0",
"can-stache": "^4.0.0"
},
"devDependencies": {
"can-map": "^4.0.0-pre.0",
Expand Down

0 comments on commit ca29535

Please sign in to comment.