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
.confluenceTd { | |
background: #f00; | |
display: block; | |
-webkit-animation-name: spin; | |
-webkit-animation-duration: 4000ms; | |
-webkit-animation-iteration-count: infinite; | |
-webkit-animation-timing-function: linear; | |
-moz-animation-name: spin; | |
-moz-animation-duration: 4000ms; | |
-moz-animation-iteration-count: infinite; |
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
(function yui() { | |
var systemInstantiate = System.instantiate, | |
//Store just one Y sandbox | |
YSandbox; | |
//Extracts the dependency list from the YUI module source code (if any exist) | |
function getYUIDeps(src, Y, load) { | |
var stripRequire = /(\"requires\"|\'requires\'|\s*requires\s*)\s*:\s*/g, | |
findRequire = /(\"requires\"|\'requires\'|\s*requires\s*)\s*:\s*\[[\s\S]*?\](\s*,\s*(\"skinnable\"|skinnable|\'skinnable\')\s*:\s*(true|false))*/g, | |
skinnable = /(\"skinnable\"|skinnable|\'skinnable\')\s*:\s*(true|false)/ |
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
<div class='color'></div> | |
<div class='color-dark'></div> | |
<div class='color-darker'></div> |
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
<div class='color'></div> | |
<div class='color-dark'></div> | |
<div class='color-darker'></div> |
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
### | |
Creates a computed property that persists into local storage, all | |
instances share the same value for the same property. | |
App.AuthController = Ember.Controller.extend({ | |
token: Em.computed.stored() | |
}); | |
controller = App.__container__.lookup('controller:auth') | |
controller.set('token', 'abc123foo456bar') |
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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
something: Ember.computed(function() { | |
return 'Something'; | |
}), | |
list: Ember.computed('something', function() { |
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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
something: Ember.computed(function() { | |
return 8; | |
}), | |
list: [ |
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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
someProp: Ember.computed(function(){ | |
return "<a href='#'>Click me</a>"; | |
}) | |
}); |
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'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
something: { | |
somethingElse: 'hi' | |
}, | |
propNotExist: Ember.computed(function(){ | |
return this.get('something.somethingElse.doesnotExist'); | |
}) |