Skip to content

Commit

Permalink
added some dummy app routes
Browse files Browse the repository at this point in the history
  • Loading branch information
MelSumner committed May 2, 2019
1 parent c148524 commit 851184c
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 18 deletions.
1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"compilerOptions":{"target":"es6","experimentalDecorators":true},"exclude":["node_modules","bower_components","tmp","vendor",".git","dist"]}
49 changes: 32 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion tests/dummy/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const Router = EmberRouter.extend({

Router.map(function() {
this.route('alpha');
this.route('bravo');
this.route('bravo', function() {
this.route('november');
});
});

export default Router;
4 changes: 4 additions & 0 deletions tests/dummy/app/routes/bravo/november.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Route from '@ember/routing/route';

export default Route.extend({
});
4 changes: 4 additions & 0 deletions tests/dummy/app/routes/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Route from '@ember/routing/route';

export default Route.extend({
});
3 changes: 3 additions & 0 deletions tests/dummy/app/templates/bravo.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<h1>Bravo Page</h1>

<p>This route (named "bravo") has a single child route- {{#link-to "bravo.november"}}November{{/link-to}}.</p>
{{outlet}}
1 change: 1 addition & 0 deletions tests/dummy/app/templates/bravo/november.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>This is the November route.</p>
2 changes: 2 additions & 0 deletions tests/dummy/app/templates/index.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1>Ember A11y ReFocus</h1>
<p>Welcome to this test dummy app for ember-a11y-refocus! I hope you will find the browsing experience in this single-page application to be improved.</p>

0 comments on commit 851184c

Please sign in to comment.