This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| }); |
This file contains hidden or 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
| // app/initializers/linkto-inactive-class.js | |
| import Ember from 'ember'; | |
| export function initialize() { | |
| Ember.LinkComponent.reopen({ | |
| classNameBindings : ['inactive'], | |
| inactiveClass : false, // must implicitly set | |
| inactive : Ember.computed('active', function(){ | |
| // Note: `activeClass` MUST return something truthy for this to work |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| components: ['foo','bar','baz'] | |
| }); |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| filename: 'some.pdf' | |
| }); |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| tagName: 'li', | |
| isExpanded: true, | |
| registerItem: 'registerItem', | |
| init(){ | |
| this._super( ...arguments ); | |
| this.sendAction('registerItem', this); | |
| }, |
This file contains hidden or 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
| component | |
| displayName = "JSON Web Token" | |
| hint = "Utility library to work with JSON Web Tokens." | |
| { | |
| // Supported algorithms | |
| variables.algorithms = { | |
| "HS256" = "HmacSHA256", | |
| "HS384" = "HmacSHA384", |
This file contains hidden or 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
| --- a/my-classic-addon/.travis.yml | |
| +++ b/my-octane-addon/.travis.yml | |
| @@ -19,37 +19,20 @@ env: | |
| global: | |
| # See https://git.io/vdao3 for details. | |
| - JOBS=1 | |
| - | |
| -branches: | |
| - only: | |
| - - master |