javascript - Order of requires in Asset Pipeline, Does it Matter? -


in javascript application.js file have following

//= require search //= require tutorial //= require_self //= require_tree .//message 

is there problem me putting //= require_tree .//stock after require_self? looks working i'm not sure of implications of putting tree after self.

all doing changing order of javascript contained in application.js, if any, concatenated rest of assets. if have code in application.js required in search or tutorial, not work correctly.

you can read more directive in railsguides.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -