Sha256: 4427d65f32397eeb47950165a7c6162098823036f0afc4fce4b28240fbaaa475

Contents?: true

Size: 633 Bytes

Versions: 27

Compression:

Stored size: 633 Bytes

Contents

//Configure pg_spec0 and pg_spec1
<% if @debug %>
  <% [0, 1].each do |i| %>
    function pg_spec<%= i %>_init(ns, options) {
      pg_spec<%= i %>_watchlist = [];
      pg_spec<%= i %>_unwatchlist = [];
      pg_spec<%= i %>_init_params = {ns: ns, options: options};
      pg_spec<%= i %>_ns = ns;
    }

    function pg_spec<%= i %>_watch(id, page) {
      pg_spec<%= i %>_watchlist.push({id: id, page: page});
    }

    function pg_spec<%= i %>_unwatch(id) {
      pg_spec<%= i %>_unwatchlist.push(id);
    }

    function pg_spec<%= i %>_write(page) {
      vm_cache_write(pg_spec<%= i %>_ns, page);
    }
  <% end %>
<% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
flok-0.0.70 app/kern/pagers/pg_spec.js
flok-0.0.69 app/kern/pagers/pg_spec.js
flok-0.0.68 app/kern/pagers/pg_spec.js
flok-0.0.67 app/kern/pagers/pg_spec.js
flok-0.0.66 app/kern/pagers/pg_spec.js
flok-0.0.65 app/kern/pagers/pg_spec.js
flok-0.0.64 app/kern/pagers/pg_spec.js
flok-0.0.63 app/kern/pagers/pg_spec.js
flok-0.0.62 app/kern/pagers/pg_spec.js
flok-0.0.61 app/kern/pagers/pg_spec.js
flok-0.0.60 app/kern/pagers/pg_spec.js
flok-0.0.57 app/kern/pagers/pg_spec.js
flok-0.0.56 app/kern/pagers/pg_spec.js
flok-0.0.55 app/kern/pagers/pg_spec.js
flok-0.0.54 app/kern/pagers/pg_spec.js
flok-0.0.53 app/kern/pagers/pg_spec.js
flok-0.0.52 app/kern/pagers/pg_spec.js
flok-0.0.51 app/kern/pagers/pg_spec.js
flok-0.0.50 app/kern/pagers/pg_spec.js
flok-0.0.49 app/kern/pagers/pg_spec.js