diff --git a/build.xml b/build.xml
index 742b709..46a5505 100644
--- a/build.xml
+++ b/build.xml
@@ -1,4 +1,4 @@
-
+
@@ -11,44 +11,56 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+ Creating directory ${build.dir}...
+
+
+
+
+ Creating ${JQUERY_PLUGIN_NAME}...
+
-
+
+ Concatenating files:${line.separator}${prettty-sourcefiles}${line.separator}into ${build.dir}/${JS_NAME}...
-
+
-
-
+
+ output="${build.dir}/${JS_NAME_MIN}.tmp">
@@ -61,15 +73,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
diff --git a/build/.gitkeepdir b/build/.gitkeepdir
deleted file mode 100644
index e69de29..0000000
diff --git a/src/html2canvas-post.txt b/src/html2canvas-post.txt
new file mode 100644
index 0000000..77b193e
--- /dev/null
+++ b/src/html2canvas-post.txt
@@ -0,0 +1,2 @@
+window.html2canvas = html2canvas;
+}(window, document));
diff --git a/src/html2canvas-pre.txt b/src/html2canvas-pre.txt
new file mode 100644
index 0000000..d9cc589
--- /dev/null
+++ b/src/html2canvas-pre.txt
@@ -0,0 +1 @@
+(function(window, document, undefined){
diff --git a/tests/test.js b/tests/test.js
index 9260f4e..6de231e 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -8,7 +8,7 @@
(function(document, window) {
var scrStart = '';
document.write(scrStart + '../external/jquery-1.6.2.js' + scrEnd);
- var html2canvas = ['Core', 'Generate', 'Parse', 'Preload', 'Queue', 'Renderer', 'plugins/jquery.plugin.html2canvas'], i;
+ var html2canvas = ['Core', 'Generate', 'Parse', 'Preload', 'Queue', 'Renderer', 'Util', 'plugins/jquery.plugin.html2canvas'], i;
for (i = 0; i < html2canvas.length; ++i) {
document.write(scrStart + '../src/' + html2canvas[i] + '.js' + scrEnd);
}