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
| Ember.Handlebars.registerBoundHelper('markdown', function (content) { | |
| return new Handlebars.SafeString(markdown.toHTML(content)); | |
| }); | |
| /* | |
| In template call it on any available property | |
| {{markdown controller.property}} | |
| */ |
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'; | |
| import ModalSupport from '../mixins/modal-support'; | |
| export default Ember.Controller.extend(ModalSupport, { | |
| actions: { | |
| tryModal: function() { | |
| var _this = this; | |
| _this.modalFor({template: 'some-template', | |
| title: 'Some Title'}) |
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
| adb logcat | grep 'Web Console' | |
| - or - | |
| adb logcat | grep "CONSOLE" |