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
//routes/ppm | |
export default Ember.Route.extend({ | |
actions: { | |
openModal: function() { | |
this.render('ingredientSelect', { | |
into: 'ppm', | |
outlet: 'modal' | |
}); | |
}, | |
closeModal: 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
# npm post install script to browserify redux instead of using webpack | |
# https://github.com/reactjs/redux/ | |
# setup dependencies | |
$ npm install browserify --save-dev | |
$ npm install browserify-incremental --save-dev | |
$ npm install babelify --save-dev | |
$ npm install babel-preset-stage-2 --save-dev | |
$ npm install babel-preset-es2015 --save-dev | |
$ npm install babel-preset-react --save-dev |
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
#https://api.rubyonrails.org/classes/ActionView/Helpers/CacheHelper.html#method-i-cache | |
ActionView::Digestor.digest(name: 'blog/show', finder: ActionController::Base.new.lookup_context) |
OlderNewer