Permalink
Browse files

Create legacy folder structure

This creates the legacy folder structure for migrating users who have
beeing doing things like `require("can/component/component");`
  • Loading branch information...
1 parent c2fa525 commit 138b6510f3643947610e3f57cf9521cf816f2541 @matthewp matthewp committed Aug 21, 2016
Showing with 15 additions and 4 deletions.
  1. +1 −0 component/component.js
  2. +1 −0 compute/compute.js
  3. +0 −4 legacy.js
  4. +1 −0 list/list.js
  5. +1 −0 map/define/define.js
  6. +1 −0 map/map.js
  7. +1 −0 model/model.js
  8. +1 −0 route/pushstate/pushstate.js
  9. +1 −0 route/route.js
  10. +1 −0 util/can.js
  11. +2 −0 util/jquery/jquery.js
  12. +2 −0 util/util.js
  13. +2 −0 view/stache/stache.js
@@ -0,0 +1 @@
+module.exports = require("can-component");
View
@@ -0,0 +1 @@
+module.exports = require("can-compute");
View
@@ -2,12 +2,8 @@ var can = require("can-util/namespace");
require("can-component");
require("can-route");
-require("can-connect");
-require("can-define/map/map");
-require("can-define/list/list");
require("can-stache");
require("can-stache-bindings");
-require("can-set");
require("can-compute");
// Extra stuff
View
@@ -0,0 +1 @@
+moudle.exports = require("can-list");
@@ -0,0 +1 @@
+module.exports = require("can-map-define");
View
@@ -0,0 +1 @@
+module.exports = require("can-map");
View
@@ -0,0 +1 @@
+require("can-model");
@@ -0,0 +1 @@
+module.exports = require("can-route-pushstate");
View
@@ -0,0 +1 @@
+module.exports = require("can-route");
View
@@ -0,0 +1 @@
+module.exports = require("can-util/namespace");
@@ -0,0 +1,2 @@
+module.exports = require("can-util/namespace");
+require("can-jquery");
View
@@ -0,0 +1,2 @@
+module.exports = require("can-util/namespace");
+require("./jquery/jquery");
@@ -0,0 +1,2 @@
+module.exports = require("can-stache");
+require("can-stache-bindings");

0 comments on commit 138b651

Please sign in to comment.