-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
12 changed files
with
50 additions
and
41 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Ember from 'ember'; | ||
|
||
export function gt([n1, n2]/*, hash*/) { | ||
return n1 > n2; | ||
} | ||
|
||
export default Ember.Helper.helper(gt); |
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,8 @@ | ||
import Ember from 'ember'; | ||
import { pluralize } from 'ember-inflector'; | ||
|
||
export function pluralize([singular, count]/*, hash*/) { | ||
return count === 1 ? singular : singular + 's'; | ||
export function pluralizeHelper([singular, count]/*, hash*/) { | ||
return count === 1 ? singular : pluralize(singular); | ||
} | ||
|
||
export default Ember.Helper.helper(pluralize); | ||
export default Ember.Helper.helper(pluralizeHelper); |
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
1 change: 1 addition & 0 deletions
1
examples/ember-cli/todomvc/dist/assets/todomvc-0b9922e4e9938d7c0ab260b3e0cbeb9a.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
examples/ember-cli/todomvc/dist/assets/todomvc-0dc9e3542835f34b2361ed2c343159ea.js
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
examples/ember-cli/todomvc/dist/assets/vendor-4952549ec620c2cbeef706e218c82007.js
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
examples/ember-cli/todomvc/dist/assets/vendor-cd836c7107e80c2c62ee7c8ce81fe8b9.js
Large diffs are not rendered by default.
Oops, something went wrong.
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