tj/haml.js

Importing javascript from a .js file

Opened this issue · 1 comments

Is it possible to import javascript code from a separate .js file, or is it necessary to write everything in the .haml file?

%script{:type => "text/javascript", :src => "javascripts/yourscript.js"}