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.48 app/kern/pagers/pg_spec.js
flok-0.0.47 app/kern/pagers/pg_spec.js
flok-0.0.45 app/kern/pagers/pg_spec.js
flok-0.0.44 app/kern/pagers/pg_spec.js
flok-0.0.43 app/kern/pagers/pg_spec.js
flok-0.0.42 app/kern/pagers/pg_spec.js
flok-0.0.41 app/kern/pagers/pg_spec.js