Ralph Shnelvar
2010-Mar-28 04:36 UTC
Keeping it DRY. Same constant needed in js, sass, and rails
I need a constant, X, to be known in a jQuery script In an .rb file in Rails ins some css/SASS How can I get this constant known in all three places? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- 'require_tree .' does not seem to be including the available *.js files as expected. Why?
- Problem with Bootstrap-SASS
- uninitialized constant Sass::Script::Functions::EvaluationContext
- Rails 3.1(beta1) + SASS + variables
- Rails 3.1, SASS, @import, and directories