include registry library tests

This commit is contained in:
guybedford
2013-11-26 21:40:36 +02:00
parent b5a99766cc
commit 83c2806c53
4 changed files with 51 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
test/jspm_packages
+15
View File
@@ -0,0 +1,15 @@
jspm.config({
"baseURL": "lib",
"map": {
"moment": "github:moment/moment@2.4.0",
"foundation": "github:zurb/bower-foundation@5.0.2",
"jquery": "github:components/jquery@2.0.3",
"backbone": "npm:backbone@1.1.0",
"d3": "npm:d3@3.3.10",
"bootstrap": "github:twbs/bootstrap@3.0.2",
"chosen": "github:harvesthq/chosen@1.0.0",
"css": "github:jspm/plugin-css@master",
"npm:underscore": "npm:underscore@1.5.2"
},
"jspmPackages": "jspm_packages"
});
+17
View File
@@ -0,0 +1,17 @@
<!doctype html>
<script src="../../es6-module-loader/lib/es6-module-loader.js"></script>
<script src="../../jspm-loader/loader.js"></script>
<script src="config.js"></script>
<script>
jspm.import([
'bootstrap',
'jquery',
'd3',
'backbone',
'foundation',
'chosen',
'moment'
], function() {
console.log(arguments);
});
</script>
+18
View File
@@ -0,0 +1,18 @@
{
"configFile": "config.js",
"directories": {
"jspm_packages": "jspm_packages",
"lib": "lib"
},
"dependencyMap": {
"moment": "github:moment/moment@2.4.0",
"foundation": "github:zurb/bower-foundation@5.0.2",
"jquery": "github:components/jquery@2.0.3",
"backbone": "npm:backbone@1.1.0",
"d3": "npm:d3@3.3.10",
"bootstrap": "github:twbs/bootstrap@3.0.2",
"chosen": "github:harvesthq/chosen@1.0.0",
"css": "github:jspm/plugin-css@master",
"npm:underscore": "npm:underscore@1.5.2"
}
}