Last active
December 1, 2015 15:57
-
-
Save rwjblue/df87420a3edfd92a7e53 to your computer and use it in GitHub Desktop.
Revisions
-
rwjblue revised this gist
Dec 1, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ "version": "0.4.13", "dependencies": { "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", "ember": "canary", "ember-template-compiler": "canary" } } -
rwjblue revised this gist
Oct 26, 2015 . 3 changed files with 9 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,9 @@ import Ember from 'ember'; import log from '../utils/log'; export default Ember.Route.extend({ model() { }, actions: { error: function(error) { log(error.message); 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ <h1>rwjblue's Ember Twiddle</h1> {{outlet}} 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 charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,11 @@ export default function log(...args) { let msg = args.join(' '); let logs = document.getElementById('logs'); if (!logs) { logs = document.createElement('pre'); document.body.appendChild(logs); } logs.insertBefore( document.createTextNode("\n" + msg), logs.firstChild -
rwjblue revised this gist
Oct 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default function log(...args) { let logs = document.getElementById('logs'); logs.insertBefore( document.createTextNode("\n" + msg), logs.firstChild ); } -
rwjblue revised this gist
Oct 15, 2015 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ This serves as a base canary gist for @rwjblue. A few useful links for the main source/gist are: * [View Twiddle](http://ember-twiddle.com/df87420a3edfd92a7e53) * [Copy Twiddle](http://ember-twiddle.com/df87420a3edfd92a7e53/copy) * [View Gist](https://gist.github.com/rwjblue/df87420a3edfd92a7e53) -
rwjblue revised this gist
Oct 15, 2015 . No changes.There are no files selected for viewing
-
rwjblue created this gist
Oct 15, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ import Ember from 'ember'; import log from '../utils/log'; export default Ember.Route.extend({ actions: { error: function(error) { log(error.message); } } }); 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ <h1>rwjblue's Ember Twiddle</h1> {{outlet}} <pre id="logs"></pre> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ { "version": "0.4.13", "dependencies": { "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", "ember": "http://builds.emberjs.com/canary/ember.debug.js", "ember-template-compiler": "http://builds.emberjs.com/canary/ember-template-compiler.js" } } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ import Ember from 'ember'; Ember.onerror = function(error) { log(error.stack); }; export default function log(...args) { let msg = args.join(' '); let logs = document.getElementById('logs'); logs.insertBefore( document.createTextNode("\n" + msg), logs.firstChild ); }