Skip to content

Commit d543007

Browse files
committed
Ignore exports and module assignments within scope
1 parent f3d45e0 commit d543007

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = function(grunt) {
99
'<%= pkg.homepage ? " <" + pkg.homepage + ">" : "" %>' + '\n' +
1010
' Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>' +
1111
'\n\n Released under <%= _.pluck(pkg.licenses, "type").join(", ") %> License\n*/\n',
12-
pre: '\n(function(window, document, undefined){\n\n',
12+
pre: '\n(function(window, document, module, exports, undefined){\n\n',
1313
post: '\n}).call({}, window, document);'
1414
};
1515

dist/html2canvas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Released under MIT License
66
*/
77

8-
(function(window, document, undefined){
8+
(function(window, document, module, exports, undefined){
99

1010
/*
1111
Copyright (c) 2013 Yehuda Katz, Tom Dale, and contributors

0 commit comments

Comments
 (0)