mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Don't leak punycode to global scope
This commit is contained in:
parent
b60b4b2a45
commit
f3d45e005e
@ -10,7 +10,7 @@ module.exports = function(grunt) {
|
||||
' Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>' +
|
||||
'\n\n Released under <%= _.pluck(pkg.licenses, "type").join(", ") %> License\n*/\n',
|
||||
pre: '\n(function(window, document, undefined){\n\n',
|
||||
post: '\n})(window, document);'
|
||||
post: '\n}).call({}, window, document);'
|
||||
};
|
||||
|
||||
// Project configuration.
|
||||
|
2
dist/html2canvas.js
vendored
2
dist/html2canvas.js
vendored
@ -2835,4 +2835,4 @@ function hasEntries(array) {
|
||||
return array.length > 0;
|
||||
}
|
||||
|
||||
})(window, document);
|
||||
}).call({}, window, document);
|
4
dist/html2canvas.min.js
vendored
4
dist/html2canvas.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user