Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
37 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
ember test | ||
yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
|
||
}; | ||
module.exports = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import Controller from "@ember/controller"; | ||
import { alias } from "@ember/object/computed"; | ||
import Controller from '@ember/controller'; | ||
|
||
|
||
export default Controller.extend({ | ||
images: alias("modal") | ||
}); | ||
export default class IndexController extends Controller { | ||
get images() { | ||
return this.model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default Route.extend({ | ||
model() { | ||
export default class AppRoute extends Route { | ||
get model() { | ||
return [ | ||
"http://placekitten.com/2000/1125", | ||
"http://placekitten.com/2000/1126", | ||
"http://placekitten.com/2000/1127", | ||
"http://placekitten.com/2000/1128", | ||
"http://placekitten.com/2000/1129", | ||
"http://placekitten.com/2000/1130", | ||
"http://placekitten.com/2000/1101", | ||
"http://placekitten.com/2000/1102", | ||
"http://placekitten.com/2000/1103", | ||
"http://placekitten.com/2000/1104", | ||
"http://placekitten.com/2000/1105", | ||
"http://placekitten.com/2000/1106", | ||
"http://placekitten.com/2000/1107", | ||
"http://placekitten.com/2000/1108", | ||
] | ||
'http://placekitten.com/2000/1125', | ||
'http://placekitten.com/2000/1126', | ||
'http://placekitten.com/2000/1127', | ||
'http://placekitten.com/2000/1128', | ||
'http://placekitten.com/2000/1129', | ||
'http://placekitten.com/2000/1130', | ||
'http://placekitten.com/2000/1101', | ||
'http://placekitten.com/2000/1102', | ||
'http://placekitten.com/2000/1103', | ||
'http://placekitten.com/2000/1104', | ||
'http://placekitten.com/2000/1105', | ||
'http://placekitten.com/2000/1106', | ||
'http://placekitten.com/2000/1107', | ||
'http://placekitten.com/2000/1108', | ||
]; | ||
} | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { module, test } from 'qunit'; | ||
import { setupTest } from 'ember-qunit'; | ||
|
||
module('Unit | Route | application', function(hooks) { | ||
module('Unit | Route | application', function (hooks) { | ||
setupTest(hooks); | ||
|
||
test('it shouldn\'t exists', function(assert) { | ||
test("it shouldn't exists", function (assert) { | ||
let route = this.owner.lookup('route:application'); | ||
assert.ok(route == null); | ||
assert.strictEqual(route, null); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters