mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Ignore exports and module assignments within scope
This commit is contained in:
parent
f3d45e005e
commit
d5430070a2
@ -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
2
dist/html2canvas.js
vendored
@ -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
|
||||
|
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