Permalink
Browse files

Adding back in missing folders/tests

I had removed all of the tests mistakenly before and this adds them back
in. So if you go to test/index.html you should see all of the tests from
all of the projects running.
  • Loading branch information...
1 parent 1d8b55c commit 8d900a5cdedbcbcad14c9bfb9074f1451dc855c8 @matthewp matthewp committed Aug 31, 2016
@@ -0,0 +1 @@
+require('can-component/test/component-test');
@@ -0,0 +1 @@
+require('can-compute/can-compute_test');
@@ -0,0 +1 @@
+require('can-construct');
@@ -0,0 +1 @@
+require('can-construct/can-construct_test');
View
@@ -0,0 +1 @@
+require("can-control");
@@ -0,0 +1 @@
+require('can-control/can-control_test');
@@ -5,6 +5,13 @@
CanJS 3.0 introduces a new even more modular project structure and several new features, while having a minimal number of deprecations or removals to the existing 2.3 API.
+This guide goes over:
+
+* How to install CanJS 3.0 and how that differs from in the past.
+* The *minimal migration path*. The steps that are required in order to upgrade from 2.x to 3.0 with the fewest number of code changes.
+* A second migration path with more modern conventions (such as the use of NPM packages).
+* The future proof path using all of the modern libraries we are most excited about.
+
## Getting CanJS 3.0
The recommended way to install CanJS 3.0 is through [npm](https://www.npmjs.com/). If you are already using the [can package](https://www.npmjs.com/package/can) you can continue to do so, but we recommend installing the specific dependencies that you need.
@@ -164,6 +171,8 @@ Construct.extend("foo.bar", ...)
Which sets `window.foo.bar`, this argument is no longer accepted by [can-construct]. If you *really* need to set a global you can do so yourself using the return value of [can-construct.extend].
+Instead the first argument to [can-construct.extend] is the name of the constructor function. This is nice for development as you'll get named objects in your dev tools.
+
## Modernized migration path
In addition to the above, to set your project up to more easily be able to upgrade in the future you can take the following measures:
View
@@ -0,0 +1 @@
+require("can-event");
View
@@ -0,0 +1 @@
+require('can-event/can-event_test');
View
No changes.
View
@@ -15,4 +15,8 @@ require("can-connect/can/model/model");
require("can-jquery");
require("can-fixture");
+// Legacy namespacing for these
+can.view.attr = can.view.callbacks.attr;
+can.view.tag = can.view.callbacks.tag;
+
module.exports = can;
View
@@ -0,0 +1 @@
+require('can-list/can-list_test');
View
@@ -0,0 +1 @@
+require('can-map/can-map_test');
View
@@ -0,0 +1 @@
+require('can-route/test/route-test');
View
@@ -8,7 +8,7 @@ require('../map/map_test');
// require('../route/route_test');
// require('../route/pushstate/pushstate_test');
require('../util/util_test');
-require('../view/autorender/autorender_test');
+// require('../view/autorender/autorender_test');
require('../view/import/import_test');
require('../view/live/live_test');
require('../view/node_lists/node_lists_test');
View
@@ -0,0 +1 @@
+require('can-util/test/test');
@@ -0,0 +1 @@
+require('can-view-autorender');
@@ -0,0 +1 @@
+require('can-view-autorender/can-view-autorender_test');
@@ -0,0 +1 @@
+require("can-view-import");
@@ -0,0 +1 @@
+require('can-view-import/can-view-import_test');
View
@@ -0,0 +1 @@
+require('can-view-live');
@@ -0,0 +1 @@
+require('can-view-live/test/live-test');
@@ -0,0 +1 @@
+require('can-view-nodelist');
@@ -0,0 +1 @@
+require('can-view-nodelist/test/can-view-nodelist-test');
@@ -0,0 +1 @@
+require('can-view-parser');
@@ -0,0 +1 @@
+require('can-view-parser/test/can-view-parser-test');
View
@@ -0,0 +1 @@
+require('can-view-scope');
@@ -0,0 +1,2 @@
+require('can-view-scope/test/scope-test');
+require('can-view-scope/test/scope-define-test');
@@ -0,0 +1 @@
+require('can-stache/test/stache-test');

0 comments on commit 8d900a5

Please sign in to comment.