Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(router-view): add router-view layouts feature #25

Merged
merged 3 commits into from
Jun 8, 2016
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
213 changes: 157 additions & 56 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,40 @@ System.config({
},

map: {
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.4",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.2",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.5",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.1",
"aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-beta.1.0.6",
"aurelia-router": "npm:aurelia-router@1.0.0-beta.1.1.0",
"aurelia-templating": "npm:aurelia-templating@1.0.0-beta.1.1.2",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.2.1",
"aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.2.4",
"aurelia-history": "npm:aurelia-history@1.0.0-beta.1.2.1",
"aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-beta.1.2.1",
"aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-beta.1.2.2",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-pal-browser": "github:aurelia/pal-browser@1.0.0-beta.2.0.1",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-beta.1.1.4",
"aurelia-router": "npm:aurelia-router@1.0.0-beta.1.2.2",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0",
"aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-beta.1.2.4",
"aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-beta.1.2.6",
"aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-beta.1.2.1",
"aurelia-testing": "npm:aurelia-testing@0.2.0",
"babel": "npm:babel-core@5.8.35",
"babel-runtime": "npm:babel-runtime@5.8.35",
"core-js": "npm:core-js@2.0.3",
"github:aurelia/pal-browser@1.0.0-beta.2.0.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"github:aurelia/templating@1.0.0-beta.2.0.0": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.3.5",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.2.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1"
},
"github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.3.0"
},
Expand All @@ -41,54 +64,132 @@ System.config({
"npm:assert@1.3.0": {
"util": "npm:util@0.10.3"
},
"npm:aurelia-binding@1.0.0-beta.1.2.1": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.5",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1"
},
"npm:aurelia-dependency-injection@1.0.0-beta.1.1.4": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.2",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.5",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
"npm:aurelia-event-aggregator@1.0.0-beta.1.1.0": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.2"
},
"npm:aurelia-loader@1.0.0-beta.1.1.1": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.5",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.1"
},
"npm:aurelia-metadata@1.0.0-beta.1.1.5": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
"npm:aurelia-polyfills@1.0.0-beta.1.0.6": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
"npm:aurelia-route-recognizer@1.0.0-beta.1.1.0": {
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.1",
"core-js": "npm:core-js@2.0.3"
},
"npm:aurelia-router@1.0.0-beta.1.1.0": {
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.4",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.1.0",
"aurelia-history": "npm:aurelia-history@1.0.0-beta.1.1.1",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.1",
"aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.0.0-beta.1.1.0",
"core-js": "npm:core-js@2.0.3"
},
"npm:aurelia-task-queue@1.0.0-beta.1.1.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1"
},
"npm:aurelia-templating@1.0.0-beta.1.1.2": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.2.1",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.1.4",
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.1.1",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.1.2",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.1.5",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.1.1",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.1.1",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.1.1"
"npm:aurelia-binding@1.0.0-beta.1.3.5": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1"
},
"npm:aurelia-binding@1.0.0-beta.1.3.6": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1"
},
"npm:aurelia-bootstrapper@1.0.0-beta.1.2.1": {
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.2.1",
"aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.2.4",
"aurelia-history": "npm:aurelia-history@1.0.0-beta.1.2.1",
"aurelia-history-browser": "npm:aurelia-history-browser@1.0.0-beta.1.2.1",
"aurelia-loader-default": "npm:aurelia-loader-default@1.0.0-beta.1.2.2",
"aurelia-logging-console": "npm:aurelia-logging-console@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-pal-browser": "npm:aurelia-pal-browser@1.0.0-beta.1.2.1",
"aurelia-polyfills": "npm:aurelia-polyfills@1.0.0-beta.1.1.4",
"aurelia-router": "npm:aurelia-router@1.0.0-beta.1.2.2",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0",
"aurelia-templating-binding": "npm:aurelia-templating-binding@1.0.0-beta.1.2.4",
"aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0-beta.1.2.6",
"aurelia-templating-router": "npm:aurelia-templating-router@1.0.0-beta.1.2.1"
},
"npm:aurelia-dependency-injection@1.0.0-beta.1.2.3": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-event-aggregator@1.0.0-beta.1.2.1": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1"
},
"npm:aurelia-framework@1.0.0-beta.1.2.4": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.3.5",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.2.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0"
},
"npm:aurelia-history-browser@1.0.0-beta.1.2.1": {
"aurelia-history": "npm:aurelia-history@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-loader-default@1.0.0-beta.1.2.2": {
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.2.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-loader@1.0.0-beta.1.2.0": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2"
},
"npm:aurelia-logging-console@1.0.0-beta.1.2.1": {
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-metadata@1.0.0-beta.1.2.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-pal-browser@1.0.0-beta.1.2.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-polyfills@1.0.0-beta.1.1.4": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-route-recognizer@1.0.0-beta.1.2.1": {
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2"
},
"npm:aurelia-router@1.0.0-beta.1.2.2": {
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0-beta.1.2.1",
"aurelia-history": "npm:aurelia-history@1.0.0-beta.1.2.1",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-route-recognizer": "npm:aurelia-route-recognizer@1.0.0-beta.1.2.1"
},
"npm:aurelia-task-queue@1.0.0-beta.1.2.1": {
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2"
},
"npm:aurelia-templating-binding@1.0.0-beta.1.2.4": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.3.5",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0"
},
"npm:aurelia-templating-resources@1.0.0-beta.1.2.6": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.3.5",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.2.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0"
},
"npm:aurelia-templating-router@1.0.0-beta.1.2.1": {
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-router": "npm:aurelia-router@1.0.0-beta.1.2.2",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0"
},
"npm:aurelia-templating@1.0.0-beta.1.2.7": {
"aurelia-binding": "npm:aurelia-binding@1.0.0-beta.1.3.5",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0-beta.1.2.3",
"aurelia-loader": "npm:aurelia-loader@1.0.0-beta.1.2.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0-beta.1.2.1",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0-beta.1.2.1",
"aurelia-pal": "npm:aurelia-pal@1.0.0-beta.1.2.2",
"aurelia-path": "npm:aurelia-path@1.0.0-beta.1.2.2",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0-beta.1.2.1"
},
"npm:aurelia-testing@0.2.0": {
"aurelia-bootstrapper": "npm:aurelia-bootstrapper@1.0.0-beta.1.2.1",
"aurelia-framework": "npm:aurelia-framework@1.0.0-beta.1.2.4",
"aurelia-templating": "github:aurelia/templating@1.0.0-beta.2.0.0"
},
"npm:babel-runtime@5.8.35": {
"process": "github:jspm/nodelibs-process@0.1.2"
Expand Down
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ module.exports = function(config) {
jspm: {
// Edit this to your needs
loadFiles: ['test/setup.js', 'test/**/*.js'],
serveFiles: ['src/**/*.js'],
serveFiles: ['src/**/*.js']
},


// list of files / patterns to load in the browser
files: [],
files: ['test/**/*.html'],


// list of files to exclude
Expand Down
Loading