From 61c0fe781c806d035e12eb3a4f097f1963796b41 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Wed, 30 Jun 2010 00:09:01 -0700 Subject: [PATCH 1/5] Styling fix. --- Rakefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rakefile b/Rakefile index 54b24d8..10cff58 100644 --- a/Rakefile +++ b/Rakefile @@ -157,11 +157,11 @@ jasmine.version_= { fn = f.sub(/^pages\//, '') version = /jasmine-standalone-(.*).zip/.match(f)[1] - download_html += "#{fn.sub(/downloads\//, '')}" - download_html += "#{version}\n" - download_html += "#{File.size(f) / 1024}k\n" - download_html += "#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S")}\n" - download_html += "#{sha1}\n" + download_html += "#{fn.sub(/downloads\//, '')}\n" + download_html += "#{version}\n" + download_html += "#{File.size(f) / 1024}k\n" + download_html += "#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S %Z")}\n" + download_html += "#{sha1}\n" end download_html += "\n" From 3da73bd51982a528be03f9cc6cdc5eeb587c718d Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Wed, 30 Jun 2010 23:49:34 -0700 Subject: [PATCH 2/5] Remove unused lib/consolex.js. --- lib/consolex.js | 28 ---------------------------- spec/runner.html | 1 - 2 files changed, 29 deletions(-) delete mode 100644 lib/consolex.js diff --git a/lib/consolex.js b/lib/consolex.js deleted file mode 100644 index 54cac92..0000000 --- a/lib/consolex.js +++ /dev/null @@ -1,28 +0,0 @@ -/** Console X -* http://github.com/deadlyicon/consolex.js -* -* By Jared Grippe -* -* Copyright (c) 2009 Jared Grippe -* Licensed under the MIT license. -* -* consolex avoids ever having to see javascript bugs in browsers that do not implement the entire -* firebug console suit -* -*/ -(function(window) { - window.console || (window.console = {}); - - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", - "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; - - function emptyFunction(){} - - for (var i = 0; i < names.length; ++i){ - window.console[names[i]] || (window.console[names[i]] = emptyFunction); - if (typeof window.console[names[i]] !== 'function') - window.console[names[i]] = (function(method) { - return function(){ return Function.prototype.apply.apply(method, [console,arguments]); }; - })(window.console[names[i]]); - } -})(this); \ No newline at end of file diff --git a/spec/runner.html b/spec/runner.html index 3a49a66..7ce2e7f 100644 --- a/spec/runner.html +++ b/spec/runner.html @@ -29,7 +29,6 @@ - From bf44d4b0db0ac07f10e70832ff349de47bd5a801 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Thu, 1 Jul 2010 00:06:28 -0700 Subject: [PATCH 3/5] Change link to downloads. --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 7b2108f..c11835d 100644 --- a/README.markdown +++ b/README.markdown @@ -5,7 +5,7 @@ Quick Start ---------- -1. Get the latest release from the [downloads page](http://github.com/pivotal/jasmine/downloads). +1. Get the latest release from the [downloads page](http://pivotal.github.com/jasmine/). 2. Open `SpecRunner.html` in your favorite browser. For running within a Ruby environment, including automated execution with Selenium, please use From e6b6d9ca959a3e6d6cfe083f3d30ff02adda56f4 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Mon, 5 Jul 2010 22:46:55 -0700 Subject: [PATCH 4/5] --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index c11835d..2f9c921 100644 --- a/README.markdown +++ b/README.markdown @@ -1,3 +1,4 @@ + [Jasmine](http://pivotal.github.com/jasmine) ======= **A JavaScript Testing Framework** From 57491a0088c9969007936f9daabbf491d33efd98 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Mon, 5 Jul 2010 22:56:37 -0700 Subject: [PATCH 5/5] README updates. --- README.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.markdown b/README.markdown index 2f9c921..6376d91 100644 --- a/README.markdown +++ b/README.markdown @@ -1,20 +1,20 @@ - -[Jasmine](http://pivotal.github.com/jasmine) +[Jasmine](http://pivotal.github.com/jasmine) ======= **A JavaScript Testing Framework** Quick Start ---------- +#### For JavaScript-only projects: 1. Get the latest release from the [downloads page](http://pivotal.github.com/jasmine/). 2. Open `SpecRunner.html` in your favorite browser. -For running within a Ruby environment, including automated execution with Selenium, please use -the [jasmine gem](http://github.com/pivotal/jasmine-gem). +#### Other distributions: +* For integration with the Ruby environment, including automated execution with Selenium, please use the [jasmine gem](http://github.com/pivotal/jasmine-gem). ### Which Release Should I Use? -Please use the latest version unless you have a good reason not to. Some of this documentation may not be applicable to older versions. Please see [[Release Notes]](http://wiki.github.com/pivotal/jasmine/release-notes) for change information. +Please use the latest version unless you have a good reason not to. Some of this documentation may not be applicable to older versions. Please see [Release Notes](http://pivotal.github.com/jasmine/release-notes) for change information. Why Another JavaScript TDD/BDD Framework? -----------