Last active
August 29, 2015 14:25
-
-
Save ericop/814f16599a6853d05eb7 to your computer and use it in GitHub Desktop.
New 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.Controller.extend({ | |
appName:'Eric OPs 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'; | |
var Router = Ember.Router.extend({ | |
location: 'none' | |
}); | |
Router.map(function() { | |
}); | |
export default Router; |
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
export default Ember.Route.extend({ | |
model: function() { | |
return [this.get('one'), | |
this.get('blue'), | |
this.get('notIt'), | |
this.get('nully'), | |
this.get('notIt2')]; | |
}, | |
one: 1, | |
blue: 'blue', | |
truth: true, | |
notIt: Ember.computed.not('truth'), | |
nully: null, | |
notIt2: Ember.computed.not('undef'), | |
undef: undefined, | |
}); |
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
body { | |
margin: 12px 16px; | |
background: #faf4f1; | |
} | |
h1 { | |
font-family: 'Pacifico', cursive; | |
color: white; | |
text-shadow: 1px 1px 1px #000; | |
background: url('https://static.jsbin.com/custom/emberjs/navigation_background.png') repeat-x; | |
border-bottom: 1px solid #AA412F; | |
box-shadow: 1px 1px 1px #000; | |
background-size:cover; | |
border-radius: 4px; | |
} | |
li { | |
background-image: linear-gradient(-90deg, #f4d2c1, #e7624b); | |
border: 1px solid #faf4f1; | |
border-radius: 4px; | |
padding: 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment