Permalink
Browse files

Reset! Doodle-js v0.1 source archive added to downloads section.

  • Loading branch information...
1 parent aad9d5d commit 8766a4099dfd30bd028c24b2f6cd35d8b25ce506 Billy Lamberta committed Aug 1, 2010
View
3 .gitignore 100755 → 100644
@@ -1,3 +0,0 @@
-doodle*.js
-build/header
-build/temp
View
48 BSD-LICENSE.txt 100755 → 100644
@@ -1,24 +1,24 @@
-Copyright (c) 2009 Billy Lamberta, http://www.lamberta.org/blog/doodle
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of the <organization> nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY <copyright holder> ''AS IS'' AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c) 2010 Billy Lamberta, http://www.lamberta.org/
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY BILLY LAMBERTA ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL BILLY LAMBERTA BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
12 README
@@ -1,12 +0,0 @@
---------------------------------------------------
-Doodle.js
-A Javascript sprite library for HTML Canvas
---------------------------------------------------
-
-For lack of proper documentation, you can check out
-an introduction and code examples at:
-http://www.lamberta.org/blog/doodle
-
-To build (requires Ruby Rake):
-rake build
-rake min
View
@@ -1,76 +0,0 @@
-Version = "0.1.1"
-
-JsLint = File.path "./build/jslint.js"
-Rhino = File.path "./build/js.jar"
-
-JsTestDriver = File.path "./build/JsTestDriver-1.0b.jar"
-#conf must be in root dir- filed bug report with js-test-driver
-JsTestDriverConf = File.path "./test-all.yml"
-
-YUICompressor = File.path "./build/yuicompressor-2.4.2.jar"
-
-Header = File.path "./build/header"
-
-task :help do
- sh "rake -T"
-end
-
-desc "Start JsTestDriver server."
-task :test_server do
- port = 9876
- sh "java -jar #{JsTestDriver} --port #{port}"
-end
-
-desc "Run unit tests."
-task :test_run do
- sh "java -jar #{JsTestDriver} --config #{JsTestDriverConf} --tests all"
-end
-
-desc "Run JsLint."
-task :jslint do
- sh "java -jar #{Rhino} #{JsLint} ./src/*"
-end
-
-desc "Concat Javascript files."
-task :build => Header do
- buildfile = File.path "./doodle-#{Version}.js"
- #order does matter
- sh "cat #{Header} > #{buildfile}"
- sh "cat ./src/compat/* >> #{buildfile}"
- sh "cat ./src/doodle.js >> #{buildfile}"
- sh "cat ./src/matrix.js >> #{buildfile}"
- sh "cat ./src/canvas.js >> #{buildfile}"
- sh "cat ./src/point.js >> #{buildfile}"
- sh "cat ./src/object.js >> #{buildfile}"
- sh "cat ./src/sprite.js >> #{buildfile}"
- sh "cat ./src/group.js >> #{buildfile}"
- sh "cat ./src/rect.js >> #{buildfile}"
- sh "cat ./src/circle.js >> #{buildfile}"
- sh "cat ./src/image.js >> #{buildfile}"
-end
-
-desc "Minify Javascript."
-task :min do
- buildfile = File.path "./doodle-#{Version}.js"
- temp = File.path "./build/temp"
- outfile = File.path "./doodle-#{Version}.min.js"
- sh "java -jar #{YUICompressor} #{buildfile} -o #{temp}"
- sh "cat #{Header} > #{outfile}"
- sh "cat #{temp} >> #{outfile}"
- rm temp
-end
-
-desc "Remove built files."
-task :clean do
- sh "rm ./doodle*.js #{Header}"
-end
-
-file Header do
- begin
- f = File.open(Header, "w")
- f.puts "/* doodle.js v#{Version}, http://www.lamberta.org/blog/doodle"
- f.puts " */"
- ensure
- f.close if f
- end
-end
View
Binary file not shown.
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 8766a40

Please sign in to comment.