Sha256: 8723f0bccfcad5447e9086cf93245fd5466ed6dab2bcf0d73897b68befbd48ad

Contents?: true

Size: 293 Bytes

Versions: 31

Compression:

Stored size: 293 Bytes

Contents

var originalLookup = Handlebars.JavaScriptCompiler.prototype.nameLookup;

Handlebars.JavaScriptCompiler.prototype.nameLookup = function(parent, name, type) {
  if (type === 'context') {
    return '"CALLED PATCH"';
  }
  else {
    return originalLookup.call(this, parent, name, type);
  }
};

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
handlebars_assets-0.23.9 test/patch/patch.js
handlebars_assets-0.23.8 test/patch/patch.js
handlebars_assets-0.23.7 test/patch/patch.js
handlebars_assets-0.23.6 test/patch/patch.js
handlebars_assets-0.23.5 test/patch/patch.js
handlebars_assets-0.23.4 test/patch/patch.js
handlebars_assets-0.23.3 test/patch/patch.js
handlebars_assets-0.23.2 test/patch/patch.js
arcabouco-0.2.13 vendor/bundle/gems/handlebars_assets-0.23.1/test/patch/patch.js
handlebars_assets-0.23.1 test/patch/patch.js
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/handlebars_assets-0.23.0/test/patch/patch.js
handlebars_assets-0.23.0 test/patch/patch.js
handlebars_assets-0.22.0 test/patch/patch.js
handlebars_assets-0.21.0 test/patch/patch.js
handlebars_assets-0.20.2 test/patch/patch.js
handlebars_assets-0.20.1 test/patch/patch.js
handlebars_assets-0.20.0 test/patch/patch.js
handlebars_assets-0.19.2 test/patch/patch.js
handlebars_assets-0.19.1 test/patch/patch.js
handlebars_assets-0.19 test/patch/patch.js