-
Other
- http://emberjs.jsbin.com/rwjblue/251/edit?html,js,output - Opening a window and communicate with it.
- http://emberjs.jsbin.com/rwjblue/55/edit - Using liquid-fire animations in globals mode.
- http://emberjs.jsbin.com/rwjblue/151/edit?js,output - Modify computed dependent keys after initialization.
- http://emberjs.jsbin.com/rwjblue/299/edit?js,output - simplified version of ic-ajax
- http://emberjs.jsbin.com/rwjblue/337/edit?html,js,output - Detect if Mixin was mixed into a Class
-
POJO's
- http://emberjs.jsbin.com/rwjblue/253/edit?js,output - Defining computed properties on a POJO.
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
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
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
| {{#list-block content=widgets}} | |
| item value {{value}} | |
| {{/list-block}} | |
| to | |
| <ul class='list-block'> | |
| <li class='list-block__item'> | |
| item value drawer-value | |
| </li> | |
| <li class='list-block__item'> | |
| item value hot-drawer-value |
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
| /// HOOKS | |
| var noop = function () {}; | |
| Renderer.prototype.willCreateElement = noop; // inBuffer | |
| Renderer.prototype.createElement = noop; // renderToBuffer or createElement | |
| Renderer.prototype.didCreateElement = noop; // hasElement | |
| Renderer.prototype.willInsertElement = noop; // will place into DOM | |
| Renderer.prototype.didInsertElement = noop; // inDOM // placed into DOM | |
| Renderer.prototype.willRemoveElement = noop; // removed from DOM willDestroyElement currently paired with didInsertElement | |
| Renderer.prototype.willDestroyElement = noop; // willClearRender (currently balanced with render) this is now paired with createElement |
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
| sudo chown -R $USER /usr/local | |
| sudo chown -R `whoami` ~/.npm |
NewerOlder