Created
July 23, 2014 13:20
-
-
Save skrat/bbc7401a084030e09b93 to your computer and use it in GitHub Desktop.
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
render: -> | |
React.DOM.div({className : 'wpbar'}, [ | |
React.DOM.div({className : 'pbar'}, [ | |
React.DOM.div({className : 'pbbar',\ | |
style : {width : ( | |
Math.floor(@state.t * 100) + '%')}}) | |
]) | |
React.DOM.div({className : 'plabel'}, @state.phrase) | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment