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

This commit is contained in:
MoyuScript
2017-09-27 22:14:50 +08:00
parent 16caff5c81
commit 7a420c6415
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();