Skip to content

Commit

Permalink
Landscaper: Remove deprecated can-util methods and replace with can-g…
Browse files Browse the repository at this point in the history
…lobals
  • Loading branch information
Austin Kurpuis authored and imaustink committed Oct 30, 2017
1 parent 8156f3a commit 5ada3c0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ node_modules

doc/
dist/
package-lock.json
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
2 changes: 1 addition & 1 deletion can-view-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var domData = require("can-util/dom/data/data");
var SimpleMap = require("can-simple-map");
var types = require("can-types");
var ns = require("can-namespace");
var getDocument = require("can-util/dom/document/document");
var getDocument = require("can-globals/document/document");
var isArrayLike = require("can-util/js/is-array-like/is-array-like");
var canReflect = require("can-reflect");

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"donejs"
],
"dependencies": {
"can-globals": "^0.2.3",
"can-namespace": "1.0.0",
"can-reflect": "^1.2.1",
"can-simple-map": "^3.3.0",
Expand Down

0 comments on commit 5ada3c0

Please sign in to comment.