Implementing cropping and dimension options for rendering (Fix #1230)

This commit is contained in:
Niklas von Hertzen
2017-09-27 22:14:50 +08:00
parent ae47d901a1
commit 53dd885279
16 changed files with 254 additions and 61 deletions

View File

@ -143,7 +143,7 @@ var REFTEST = window.location.search.indexOf('reftest') !== -1;
};
})(jQuery);
h2cSelector = [document.documentElement];
h2cSelector = typeof h2cSelector === 'undefined' ? [document.documentElement] : h2cSelector;
if (window.setUp) {
window.setUp();