Created
February 4, 2015 09:58
-
-
Save poteto/e4551686bf2a152da57f to your computer and use it in GitHub Desktop.
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
import Ember from 'ember'; | |
import { sample: computedSample } from '../macros/computed/sample'; | |
var { computed } = Ember; | |
export default Ember.Component.extend({ | |
tagName : 'h1', | |
classNames : [ 'loading', 'animated', 'fadeIn' ], | |
showLoadingMessages : false, | |
randomLoadingMessage : computedSample('loadingMessages'), | |
loadingText : 'Loading', | |
loadingMessages: [ | |
'A day without sunshine is like, you know, night.', | |
'My fake plants died because I did not pretend to water them.', | |
'Weather forecast for tonight: dark.' | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment