Sha256: 9c42ee992b2a0546041ca73056c4e3c4dff69f6a4f542e4027153e89532b8f8d

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
poke_js-0.1.3 app/views/layouts/application.js.erb
poke_js-0.1.2 app/views/layouts/application.js.erb
poke_js-0.1.0 app/views/layouts/application.js.erb