Ignore exports and module assignments within scope

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

View File

@ -9,7 +9,7 @@ module.exports = function(grunt) {
'<%= pkg.homepage ? " <" + pkg.homepage + ">" : "" %>' + '\n' +
' 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',
pre: '\n(function(window, document, module, exports, undefined){\n\n',
post: '\n}).call({}, window, document);'
};

2
dist/html2canvas.js vendored
View File

@ -5,7 +5,7 @@
Released under MIT License
*/
(function(window, document, undefined){
(function(window, document, module, exports, undefined){
/*
Copyright (c) 2013 Yehuda Katz, Tom Dale, and contributors

File diff suppressed because one or more lines are too long