Changeset 2691 for lang/javascript/jsdeferred
- Timestamp:
- 12/07/07 03:40:38 (13 months ago)
- Location:
- lang/javascript/jsdeferred/trunk
- Files:
-
- 4 modified
-
Rakefile (modified) (2 diffs)
-
doc/index.html (modified) (1 diff)
-
jsdeferred.js (modified) (1 diff)
-
test-rhino.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/jsdeferred/trunk/Rakefile
r2677 r2691 10 10 11 11 CLEAN.include ["jsdeferred.{nodoc,mini,jquery}.js"] 12 Version = File.read("jsdeferred.js")[/Version:: (\d+\.\d+\.\d+)/, 1] 12 13 13 14 def mini(js, commentonly=false) … … 28 29 task :default => [:test] 29 30 30 task :test => [ :release] do31 sh %{rhino test-rhino.js }31 task :test => ["jsdeferred.nodoc.js", "jsdeferred.mini.js", "jsdeferred.js", "jsdeferred.jquery.js", "doc/index.html"] do 32 sh %{rhino test-rhino.js jsdeferred.js} 32 33 end 33 34 34 task :release => ["jsdeferred.nodoc.js", "jsdeferred.mini.js", "jsdeferred.js", "jsdeferred.jquery.js", "doc/index.html"] do 35 task :release => [:update, :clean, :test] do 36 # Additional Tests 37 # [".nodoc", ".mini"].each do |f| 38 # sleep 3 39 # sh %{rhino test-rhino.js jsdeferred#{f}.js} 40 # end 41 ENV["LANG"] = "C" 42 info = `svn info` 43 # day = Time.now.strftime("%Y-%m-%d") 44 # rev = info[/Revision: (\d+)/, 1].to_i 45 # ver = "#{day}.r#{rev}" 46 47 ver = Version 48 puts "Releasing:: #{ver}" 49 50 require "uri" 51 url = URI(info[/URL: ([^\s]+)/, 1]) + "." 52 puts url 53 com = %{svn cp #{url + "trunk"} #{url + "tags/release-#{ver}"}} 54 puts com 55 puts "Tag to press any key." 56 $stdin.gets 57 sh com 58 end 59 60 task :update do 61 sh %{svn up} 35 62 end 36 63 -
lang/javascript/jsdeferred/trunk/doc/index.html
r2651 r2691 54 54 <p>JSDeferred 55 55 Copyright (c) 2007 cho45 ( www.lowreal.net )</p> 56 <p>License:: MIT</p> 56 <p>Version:: 0.1.0 57 License:: MIT</p> 57 58 <p>Permission is hereby granted, free of charge, to any person obtaining a copy 58 59 of this software and associated documentation files (the "Software"), to deal -
lang/javascript/jsdeferred/trunk/jsdeferred.js
r2647 r2691 3 3 * Copyright (c) 2007 cho45 ( www.lowreal.net ) 4 4 * 5 * Version:: 0.1.0 5 6 * License:: MIT 6 7 * -
lang/javascript/jsdeferred/trunk/test-rhino.js
r2682 r2691 1 1 #!rhino 2 2 function Main () { 3 /*4 * This test script is NOT work in Rhino 1.6.R1-0.0ubuntu35 * ...6 */7 3 8 load( "jsdeferred.js");4 load(Global.arguments[0] || "jsdeferred.js"); 9 5 10 6 var data; … … 154 150 155 151 Global.window = Global; 152 Global.Global = Global; 156 153 Global.console = { 157 154 log : function (a) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)