Sha256: 7e79f6ae3a6120ef06185b798d4ef20ae52c618211e1aee788fe4c45b7734a96

Contents?: true

Size: 619 Bytes

Versions: 30

Compression:

Stored size: 619 Bytes

Contents

//Configure pg_dummy0
<% [0].each do |i| %>
  function pg_dummy<%= i %>_init(ns, options) {
    pg_dummy<%= i %>_init_params = {ns: ns, options: options};
    pg_dummy<%= i %>_ns = ns;

    pg_dummy<%= i %>_spec_did_init = true;

    pg_dummy<%= i %>_write_vm_cache_clone = [];
  }

  function pg_dummy<%= i %>_watch(id, page) {
  }

  function pg_dummy<%= i %>_unwatch(id) {
  }

  function pg_dummy<%= i %>_write(page) {
    //Deep clone vm_cache at call time
    //Used by specs looking to see if HD lookup happends
    pg_dummy<%= i %>_write_vm_cache_clone.push(JSON.parse(JSON.stringify(vm_cache)));
  }
<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
flok-0.0.105 app/kern/pagers/pg_dummy.js
flok-0.0.103 app/kern/pagers/pg_dummy.js
flok-0.0.102 app/kern/pagers/pg_dummy.js
flok-0.0.101 app/kern/pagers/pg_dummy.js
flok-0.0.100 app/kern/pagers/pg_dummy.js
flok-0.0.99 app/kern/pagers/pg_dummy.js
flok-0.0.98 app/kern/pagers/pg_dummy.js
flok-0.0.97 app/kern/pagers/pg_dummy.js
flok-0.0.96 app/kern/pagers/pg_dummy.js
flok-0.0.95 app/kern/pagers/pg_dummy.js
flok-0.0.94 app/kern/pagers/pg_dummy.js
flok-0.0.93 app/kern/pagers/pg_dummy.js
flok-0.0.92 app/kern/pagers/pg_dummy.js
flok-0.0.91 app/kern/pagers/pg_dummy.js
flok-0.0.90 app/kern/pagers/pg_dummy.js
flok-0.0.89 app/kern/pagers/pg_dummy.js
flok-0.0.88 app/kern/pagers/pg_dummy.js
flok-0.0.87 app/kern/pagers/pg_dummy.js
flok-0.0.86 app/kern/pagers/pg_dummy.js
flok-0.0.85 app/kern/pagers/pg_dummy.js