Skip to content

Commit

Permalink
Merge pull request #52 from canjs/migrate-to-can-globals
Browse files Browse the repository at this point in the history
Landscaper: Remove deprecated can-util methods and replace with can-globals
  • Loading branch information
imaustink authored Oct 30, 2017
2 parents 78ce394 + 5ada3c0 commit 7418c31
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 @@ -29,6 +29,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 7418c31

Please sign in to comment.