Don't leak punycode to global scope

This commit is contained in:
Niklas von Hertzen 2014-09-29 19:15:50 +03:00
parent b60b4b2a45
commit f3d45e005e
3 changed files with 4 additions and 4 deletions

View File

@ -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
View File

@ -2835,4 +2835,4 @@ function hasEntries(array) {
return array.length > 0;
}
})(window, document);
}).call({}, window, document);

File diff suppressed because one or more lines are too long