diff --git a/README.markdown b/README.markdown index 7b2108f..6376d91 100644 --- a/README.markdown +++ b/README.markdown @@ -1,19 +1,20 @@ -[Jasmine](http://pivotal.github.com/jasmine) +[Jasmine](http://pivotal.github.com/jasmine) ======= **A JavaScript Testing Framework** Quick Start ---------- -1. Get the latest release from the [downloads page](http://github.com/pivotal/jasmine/downloads). +#### 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? ----------- 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" 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 @@ -