diff --git a/Rakefile b/Rakefile
index ca915f769..c5729c428 100644
--- a/Rakefile
+++ b/Rakefile
@@ -135,6 +135,39 @@ namespace :build do
end
end
+
+ desc "Build list of source files for easy inclusion in projects"
+ task :source_html do
+
+ File.open("dev/source-list.html", "w+") do |file|
+ file.puts ""
+
+ src_array = ["src/core", "src/lib"]
+ last = ["src/setup"] # "flash/swfobject",
+ exclude = [".", "..", ".DS_Store", "_end.js", "_begin.js"]
+
+ Dir.foreach('src') do |item|
+ next if exclude.include? item
+
+ item_name = "src/" << item.sub(".js", "")
+
+ next if (src_array + last).include? item_name
+
+ src_array << item_name
+ end
+
+ src_array = src_array + last
+
+ src_array.each do |item|
+ file.puts ""
+ end
+ # file.puts "vjsSourceList.push('src/#{item.sub(".js", "")}')"
+ # file.puts "vjsSourceList.push('flash/swfobject.js')"
+
+ file.puts ""
+
+ end
+ end
end
diff --git a/dev/source-list.html b/dev/source-list.html
new file mode 100644
index 000000000..e68ea5a25
--- /dev/null
+++ b/dev/source-list.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/test.html b/test/test.html
index 291bb13f4..948dfc891 100644
--- a/test/test.html
+++ b/test/test.html
@@ -5,41 +5,31 @@
QUnit Test Suite
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/test/test.js b/test/test.js
index 944acfb4d..151ab4ecf 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,8 +1,13 @@
-var tagCode = '