Sha256: 71f6e3bb58fce2229d855a8bf8e5ebd3cf6a75587553e1ffdd7c3c74940a2627
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
(function() { <% controller, action = poke_js_template %> POKE.define('POKE', { controller: "<%=controller%>", action: "<%=action%>", method: "<%=request.method%>", path: "<%=request.env['PATH_INFO']%>" }); APP.<%= controller.gsub("/", ".") %>.js.<%= action %>_params = <%= yield %>; POKE.exec_all('<%= poke_js_template[0] %>', 'js', '<%= poke_js_template[1] %>'); })();
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
poke_js-0.1.6 | app/views/layouts/application.js.erb |