mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Improve build system: read version from version.txt, fix build without compiler
* read the version from version.txt * set default target to build * added dependencies to all targets * allow the build to run without a local copy of the closure compiler * updated license header with @VERSION@ which will be replaced during the build * added the license header to all files (that one will be stripped out by the closure compiler)
This commit is contained in:
10
src/Core.js
10
src/Core.js
@ -1,3 +1,11 @@
|
||||
/*
|
||||
html2canvas @VERSION@ <http://html2canvas.hertzen.com>
|
||||
Copyright (c) 2011 Niklas von Hertzen. All rights reserved.
|
||||
http://www.twitter.com/niklasvh
|
||||
|
||||
Released under MIT License
|
||||
*/
|
||||
|
||||
var html2canvas = {};
|
||||
|
||||
html2canvas.logging = true;
|
||||
@ -121,4 +129,4 @@ html2canvas.Util.Extend = function (options, defaults) {
|
||||
html2canvas.Util.Children = function(el) {
|
||||
// $(el).contents() !== el.childNodes, Opera / IE have issues with that
|
||||
return $(el).contents();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user