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

Fix a typo, in the `Catalog.numPages` getter, than prevents shadowing from working correctly
This commit is contained in:
Tim van der Meij 2017-07-20 23:08:50 +02:00 committed by GitHub
commit 09f04eccda

View File

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