Browse Source

Merge pull request #8678 from Snuffleupagus/fix-Catalog-numPages-shadow

Fix a typo, in the `Catalog.numPages` getter, than prevents shadowing from working correctly
Tim van der Meij 8 years ago committed by GitHub
parent
commit
09f04eccda
  1. 2
      src/core/obj.js

2
src/core/obj.js

@ -168,7 +168,7 @@ var Catalog = (function CatalogClosure() { @@ -168,7 +168,7 @@ var Catalog = (function CatalogClosure() {
'page count in top level pages object is not an integer'
);
// shadow the prototype getter
return shadow(this, 'num', obj);
return shadow(this, 'numPages', obj);
},
get destinations() {
function fetchDestination(dest) {

Loading…
Cancel
Save