Skip to content

Instantly share code, notes, and snippets.

@poteto
Created February 4, 2015 09:58
Show Gist options
  • Save poteto/e4551686bf2a152da57f to your computer and use it in GitHub Desktop.
Save poteto/e4551686bf2a152da57f to your computer and use it in GitHub Desktop.
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