Sha256: de0c047bcc21c84747afd7c78e0bb46a03424fdb127f2dce4e603e8562d8e338

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

(function() {
    <% controller, action = poke_js_template %>
    APP.<%= controller.gsub("/", ".") %>.js.<%= action %>_params = <%= yield %>;
    POKE.exec_all('<%= poke_js_template[0] %>', 'js', '<%= poke_js_template[1] %>');
})();

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
poke_js-0.1.5 app/views/layouts/application.js.erb
poke_js-0.1.4 app/views/layouts/application.js.erb