Finished refactor to Frank for the static pages; 1.0.2 files

This commit is contained in:
Davis W. Frank 2011-02-27 12:24:21 -08:00
parent ae5da671e3
commit e7860d25a8
51 changed files with 445 additions and 178 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
.bundle/ .bundle/
.idea/ .idea/
site/ pages_output

View File

@ -1,7 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head> <head>
<meta charset='utf-8' /> <meta charset='utf-8' />
<title>Jasmine: BDD for your JavaScript</title> <title>
Jasmine: BDD for your JavaScript
</title>
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon' /> <link href='favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' /> <link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' />
<link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' /> <link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' />
@ -18,7 +20,8 @@
</div> </div>
<div class='copy'> <div class='copy'>
For a using Jasmine with Ruby on Rails, other Ruby frameworks, within continuous integration environments, or to gain more dynamic source and test file loading, see For a using Jasmine with Ruby on Rails, other Ruby frameworks, within continuous integration environments, or to gain more dynamic source and test file loading, see
<a href="http://github.com/pivotal/jasmine/wiki.">Using the Jasmine Gem</a> <a href='http://github.com/pivotal/jasmine/wiki'>Using the Jasmine Gem</a>
.
</div> </div>
<table id='standalone-downloads'> <table id='standalone-downloads'>
<tr> <tr>
@ -28,32 +31,49 @@
<th>Date</th> <th>Date</th>
<th>SHA1</th> <th>SHA1</th>
</tr> </tr>
<tr> <tr class=''>
<td class='link'><a href="/jasmine/downloads/jasmine-standalone-1.0.1.zip">jasmine-standalone-1.0.1.zip</a></td> <td class='link'>
<a href='/jasmine/downloads/jasmine-standalone-1.0.2.zip'>jasmine-standalone-1.0.2.zip</a>
</td>
<td class='version'>1.0.2</td>
<td class='size'>20k</td>
<td class='date'>2011/02/27 12:17:47 PST</td>
<td class='sha'>ba6c43c0b70de0632e45c2346b4ba841d909ba49</td>
</tr>
<tr class=''>
<td class='link'>
<a href='/jasmine/downloads/jasmine-standalone-1.0.1.zip'>jasmine-standalone-1.0.1.zip</a>
</td>
<td class='version'>1.0.1</td> <td class='version'>1.0.1</td>
<td class='size'>20k</td> <td class='size'>20k</td>
<td class='date'>2010/10/05 13:37:01 PDT</td> <td class='date'>2011/02/27 09:56:14 PST</td>
<td class='sha'>b2b3d00a7cb8d5ccd65a3356bb5ae15775328119</td> <td class='sha'>b2b3d00a7cb8d5ccd65a3356bb5ae15775328119</td>
</tr> </tr>
<tr> <tr class=''>
<td class='link'><a href="/jasmine/downloads/jasmine-standalone-1.0.0.zip">jasmine-standalone-1.0.0.zip</a></td> <td class='link'>
<a href='/jasmine/downloads/jasmine-standalone-1.0.0.zip'>jasmine-standalone-1.0.0.zip</a>
</td>
<td class='version'>1.0.0</td> <td class='version'>1.0.0</td>
<td class='size'>20k</td> <td class='size'>20k</td>
<td class='date'>2010/09/14 12:54:38 PDT</td> <td class='date'>2011/02/27 09:56:14 PST</td>
<td class='sha'>1866f654a3ad0ab9109393ce31d6613c77916607</td> <td class='sha'>1866f654a3ad0ab9109393ce31d6613c77916607</td>
</tr> </tr>
<tr class='rc'> <tr class='rc'>
<td class='link'><a href="/jasmine/downloads/jasmine-standalone-1.0.0.rc1.zip">jasmine-standalone-1.0.0.rc1.zip</a></td> <td class='link'>
<a href='/jasmine/downloads/jasmine-standalone-1.0.0.rc1.zip'>jasmine-standalone-1.0.0.rc1.zip</a>
</td>
<td class='version'>1.0.0.rc1</td> <td class='version'>1.0.0.rc1</td>
<td class='size'>19k</td> <td class='size'>19k</td>
<td class='date'>2010/08/26 13:09:41 PDT</td> <td class='date'>2011/02/27 09:56:14 PST</td>
<td class='sha'>20e7da22bc7ce3433331a5ad44eb199f4ff34065</td> <td class='sha'>20e7da22bc7ce3433331a5ad44eb199f4ff34065</td>
</tr> </tr>
<tr> <tr class=''>
<td class='link'><a href="/jasmine/downloads/jasmine-standalone-0.11.1.zip">jasmine-standalone-0.11.1.zip</a></td> <td class='link'>
<a href='/jasmine/downloads/jasmine-standalone-0.11.1.zip'>jasmine-standalone-0.11.1.zip</a>
</td>
<td class='version'>0.11.1</td> <td class='version'>0.11.1</td>
<td class='size'>18k</td> <td class='size'>18k</td>
<td class='date'>2010/06/25 16:05:30 PDT</td> <td class='date'>2011/02/27 09:56:14 PST</td>
<td class='sha'>26998c7ca047e47f84c382a4efeb1dc5cb8661a6</td> <td class='sha'>26998c7ca047e47f84c382a4efeb1dc5cb8661a6</td>
</tr> </tr>
</table> </table>

Binary file not shown.

View File

@ -1,7 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head> <head>
<meta charset='utf-8' /> <meta charset='utf-8' />
<title>Jasmine: BDD for your JavaScript</title> <title>
Jasmine: BDD for your JavaScript
</title>
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon' /> <link href='favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' /> <link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' />
<link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' /> <link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' />
@ -23,37 +25,49 @@
<div class='copy'> <div class='copy'>
Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment, Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment,
or server-side environments like or server-side environments like
<a href="http://nodejs.org">Node.js</a> <a href='httpe://nodejs.org' target='_blank'>Node.js</a>
.
</div> </div>
<div class='copy'> <div class='copy'>
Find out more in the Find out more in the
<a href="http://github.com/pivotal/jasmine/wiki" target="_blank">documentation</a>. <a href='http://github.com/pivotal/jasmine/wiki' target='_blank'>documentation</a>
.
</div> </div>
<h2>Downloads</h2> <h2>Downloads</h2>
<ul> <ul>
<li><a href="download.html">Standalone</a></li>
<li> <li>
<a href="http://github.com/pivotal/jasmine/wiki/A-ruby-project" target="_blank">Jasmine Ruby Gem</a> <a href='download.html' target='_blank'>Standalone</a>
</li>
<li>
<a href='http://github.com/pivotal/jasmine/wiki/A-ruby-project' target='_blank'>Jasmine Ruby Gem</a>
for Rails, Ruby, or Ruby-friendly development for Rails, Ruby, or Ruby-friendly development
</li> </li>
<li> <li>
<a href="http://github.com/pivotal/jasmine/wiki" target="_blank">Other environments</a> <a href='http://github.com/pivotal/jasmine/wiki' target='_blank'>Other environments</a>
Node.js, Maven, etc. Node.js, Maven, etc.
</li> </li>
</ul> </ul>
<h2>Support</h2> <h2>Support</h2>
<ul> <ul>
<li><a href="jsdoc/index.html" target="_blank">API Documentation</a></li>
<li> <li>
<a href="http://groups.google.com/group/jasmine-js" target="_blank">Google Group for email list:</a> <a href='jsdoc/index.html' target='_blank'>API Documentation</a>
<a href="mailto:jasmine-js@googlegroups.com" target="_blank">jasmine-js@googlegroups.com</a> </li>
<li>
<a href='http://groups.google.com/group/jasmine-js' target='_blank'>Google Group for email list:</a>
<a href='mailto:jasmine-js@googlegroups.com' target='_blank'>jasmine-js@googlegroups.com</a>
</li>
<li>
<a href='http://ci.pivotallabs.com' target='_blank'>Current Build Status</a>
</li>
<li>
<a href='http://github.com/pivotal/jasmine/issues' target='_blank'>Report bugs at Github</a>
</li>
<li>
<a href='http://www.pivotaltracker.com/projects/10606' target='_blank'>Project Backlog at Pivotal Tracker</a>
</li> </li>
<li><a href="http://ci.pivotallabs.com" target="_blank">Current Build Status</a></li>
<li><a href="http://github.com/pivotal/jasmine/issues" target="_blank">Report bugs at GitHub</a></li>
<li><a href="http://www.pivotaltracker.com/projects/10606" target="_blank">Project Backlog at Pivotal Tracker</a></li>
<li> <li>
<img src='http://twitter-badges.s3.amazonaws.com/t_mini-c.png' /> <img src='http://twitter-badges.s3.amazonaws.com/t_mini-c.png' />
<a href="http://twitter.com/JasmineBDD">Follow @JasmineBDD on Twitter</a> <a href='http://twitter.com/JasmineBDD' target='_blank'>Follow @JasmineBDD on Twitter</a>
</li> </li>
</ul> </ul>
</section> </section>

View File

@ -444,7 +444,7 @@ ul.inheritsList
</div> </div>
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:46 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -324,7 +324,7 @@ ul.inheritsList
</div> </div>
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:46 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1125,7 +1125,7 @@ A convenience method that allows existing specs to be disabled temporarily durin
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:44 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -413,7 +413,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -708,7 +708,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1206,7 +1206,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -818,7 +818,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1606,7 +1606,7 @@ a pattern or a String.
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -390,7 +390,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -706,7 +706,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -615,7 +615,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -740,7 +740,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1213,7 +1213,7 @@ Be careful not to leave calls to <code>jasmine.log</code> in production code.
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -852,7 +852,7 @@ expect(foo.bar.callCount).toEqual(0);</pre>
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -769,7 +769,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -431,7 +431,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:46 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1203,7 +1203,7 @@ Be careful not to leave calls to <code>jasmine.log</code> in production code.
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:00 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:45 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -531,7 +531,7 @@ ul.inheritsList
<!-- ============================== footer ================================= --> <!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both"> <div class="fineprint" style="clear:both">
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Oct 05 2010 13:37:01 GMT-0700 (PDT) Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sun Feb 27 2011 12:17:46 GMT-0800 (PST)
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,72 +0,0 @@
body
color: #222
font-family: Helvetica, Arial
font-size: 14px
line-height: 20px
ul, ol
margin: 0
padding: 0
h1
margin: 0 0 10px
font: bold 72px Georgia
h2
margin: 0
font-size: 24px
line-height: 32px
color: #cecece
em
color: #4D9EEF
font-family: Inconsolata, Monaco, monospace
font-style: normal
#wrapper
position: relative
width: 600px
margin: 0px auto
#tooltip
position: absolute
top: 80px
left: 380px
color: #4D9EEF
font-weight: bold
z-index: 20
cursor: pointer
#header, #help
position: absolute
left: 300px
width: 300px
margin-left: -150px
#header
width: 350px
height: 600px
margin-left: -175px
background: #fff
z-index: 10
top: 60px
cursor: pointer
h2
width: 300px
img
margin-left: -25px
h1
margin-left: -3px
#help
top: 150px
border-top: 1px #7a7a7a solid
li
font-weight: bold
color: #ddd
p
font-weight: normal
color: #222

View File

@ -1,54 +0,0 @@
.copy
These files are for the standalone release, meant for inclusion on a static HTML page and manual management of files.
.copy
For a using Jasmine with Ruby on Rails, other Ruby frameworks, within continuous integration environments, or to gain more dynamic source and test file loading, see
%a{ :href => "http://github.com/pivotal/jasmine/wiki" } Using the Jasmine Gem
.
%table#standalone-downloads
%tr
%th
%th Version
%th Size
%th Date
%th SHA1
- downloads.each do |d|
= render_partial "download_item", :filename => d[:filename],
:version => d[:version],
:size => d[:size],
:date => d[:date],
:sha => d[:sha]
-#%tr
-# %td.link= link "jasmine-standalone-1.0.1.zip", "/jasmine/downloads/jasmine-standalone-1.0.1.zip"
-# %td.version 1.0.1
-# %td.size 20k
-# %td.date 2010/10/05 13:37:01 PDT
-# %td.sha b2b3d00a7cb8d5ccd65a3356bb5ae15775328119
-#
-#%tr
-# %td.link= link "jasmine-standalone-1.0.0.zip", "/jasmine/downloads/jasmine-standalone-1.0.0.zip"
-# %td.version 1.0.0
-# %td.size 20k
-# %td.date 2010/09/14 12:54:38 PDT
-# %td.sha 1866f654a3ad0ab9109393ce31d6613c77916607
-#
-#%tr.rc
-# %td.link= link "jasmine-standalone-1.0.0.rc1.zip", "/jasmine/downloads/jasmine-standalone-1.0.0.rc1.zip"
-# %td.version 1.0.0.rc1
-# %td.size 19k
-# %td.date 2010/08/26 13:09:41 PDT
-# %td.sha 20e7da22bc7ce3433331a5ad44eb199f4ff34065
-#
-#%tr
-# %td.link= link "jasmine-standalone-0.11.1.zip", "/jasmine/downloads/jasmine-standalone-0.11.1.zip"
-# %td.version 0.11.1
-# %td.size 18k
-# %td.date 2010/06/25 16:05:30 PDT
-# %td.sha 26998c7ca047e47f84c382a4efeb1dc5cb8661a6

View File

@ -0,0 +1,24 @@
.copy
These files are for the standalone release, meant for inclusion on a static HTML page and manual management of files.
.copy
For a using Jasmine with Ruby on Rails, other Ruby frameworks, within continuous integration environments, or to gain more dynamic source and test file loading, see
%a{ :href => "http://github.com/pivotal/jasmine/wiki" } Using the Jasmine Gem
= "."
%table#standalone-downloads
%tr
%th
%th Version
%th Size
%th Date
%th SHA1
- downloads.each do |d|
= render_partial "download_item", :filename => d[:filename],
:version => d[:version],
:rc => d[:rc],
:size => d[:size],
:date => d[:date],
:sha => d[:sha]

View File

@ -10,12 +10,12 @@
Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment, | Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment, |
or server-side environments like or server-side environments like
%a{:target => '_blank', :href => "httpe://nodejs.org"} Node.js %a{:target => '_blank', :href => "httpe://nodejs.org"} Node.js
. = '.'
.copy .copy
Find out more in the Find out more in the
%a{:target => '_blank', :href => "http://github.com/pivotal/jasmine/wiki"} documentation %a{:target => '_blank', :href => "http://github.com/pivotal/jasmine/wiki"} documentation
. = '.'
%h2 Downloads %h2 Downloads

View File

@ -10,9 +10,9 @@ module FrankHelpers
def downloads def downloads
require 'digest/sha1' require 'digest/sha1'
Dir.glob('pages/downloads/*.zip').sort.reverse.collect do |f| Dir.glob('../downloads/*.zip').sort.reverse.collect do |f|
item = {} item = {}
item[:filename] = f.sub(/^pages\//, '') item[:filename] = File.basename(f)
item[:version] = /jasmine-standalone-(.*).zip/.match(f)[1] item[:version] = /jasmine-standalone-(.*).zip/.match(f)[1]
item[:rc] = /\.rc/.match(f) ? 'rc' : '' item[:rc] = /\.rc/.match(f) ? 'rc' : ''
item[:size] = "#{File.size(f) / 1024}k" item[:size] = "#{File.size(f) / 1024}k"

View File

@ -3,7 +3,6 @@
%meta{:charset => "utf-8"} %meta{:charset => "utf-8"}
%title %title
= "Jasmine: BDD for your JavaScript" = "Jasmine: BDD for your JavaScript"
= "| #{title}" if title
%link{ :rel => "shortcut icon", :type => "image/x-icon", :href =>"favicon.ico" } %link{ :rel => "shortcut icon", :type => "image/x-icon", :href =>"favicon.ico" }
%link{ :rel => "stylesheet", :type => "text/css", :media => "screen, projection", :href => "/jasmine/css/screen.css" } %link{ :rel => "stylesheet", :type => "text/css", :media => "screen, projection", :href => "/jasmine/css/screen.css" }
%link{ :rel => "stylesheet", :type => "text/css", :media => "screen, projection", :href => "/jasmine/css/pygments.css" } %link{ :rel => "stylesheet", :type => "text/css", :media => "screen, projection", :href => "/jasmine/css/pygments.css" }
@ -17,5 +16,3 @@
%span.small Powered by &nbsp; %span.small Powered by &nbsp;
%a{ :href => "http://pivotallabs.com" , :target => '_blank' } %a{ :href => "http://pivotallabs.com" , :target => '_blank' }
%img{ :src => "/jasmine/images/pivotal_logo.gif", :alt => "Pivotal Labs, Inc." } %img{ :src => "/jasmine/images/pivotal_logo.gif", :alt => "Pivotal Labs, Inc." }
.content= yield

View File

@ -0,0 +1,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta charset='utf-8' />
<title>
Jasmine: BDD for your JavaScript
</title>
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' />
<link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' />
</head>
<body>
<img alt='Fork me on GitHub' class='github' src='http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png' style='position: absolute; top: 0; right: 0; border: 0;' />
<div class='banner'>
<img alt='Jasmine: BDD for your JavaScript' src='/jasmine/images/jasmine_logo.png' />
<h3>BDD for JavaScript</h3>
</div>
<section class='content'>
<div class='copy'>
These files are for the standalone release, meant for inclusion on a static HTML page and manual management of files.
</div>
<div class='copy'>
For a using Jasmine with Ruby on Rails, other Ruby frameworks, within continuous integration environments, or to gain more dynamic source and test file loading, see
<a href='http://github.com/pivotal/jasmine/wiki'>Using the Jasmine Gem</a>
.
</div>
<table id='standalone-downloads'>
<tr>
<th></th>
<th>Version</th>
<th>Size</th>
<th>Date</th>
<th>SHA1</th>
</tr>
</table>
</section>
<hr />
<span class='small'>Powered by &nbsp;</span>
<a href='http://pivotallabs.com' target='_blank'>
<img alt='Pivotal Labs, Inc.' src='/jasmine/images/pivotal_logo.gif' />
</a>
</body>

View File

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -0,0 +1,79 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta charset='utf-8' />
<title>
Jasmine: BDD for your JavaScript
</title>
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon' />
<link href='/jasmine/css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' />
<link href='/jasmine/css/pygments.css' media='screen, projection' rel='stylesheet' type='text/css' />
</head>
<body>
<img alt='Fork me on GitHub' class='github' src='http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png' style='position: absolute; top: 0; right: 0; border: 0;' />
<div class='banner'>
<img alt='Jasmine: BDD for your JavaScript' src='/jasmine/images/jasmine_logo.png' />
<h3>BDD for JavaScript</h3>
</div>
<section class='content'>
<div class='copy'>
Jasmine is a behavior-driven development framework for testing your JavaScript code. It does not depend on any other
JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.
</div>
<div class='highlight'>
<pre><code class='javascript'><span class='nx'>describe</span><span class='p'>(</span><span class='s2'>&quot;Jasmine&quot;</span><span class='p'>,</span> <span class='kd'>function</span><span class='p'>()</span> <span class='p'>{</span>&#x000A; <span class='nx'>it</span><span class='p'>(</span><span class='s2'>&quot;makes testing JavaScript awesome!&quot;</span><span class='p'>,</span> <span class='kd'>function</span><span class='p'>()</span> <span class='p'>{</span>&#x000A; <span class='nx'>expect</span><span class='p'>(</span><span class='nx'>yourCode</span><span class='p'>).</span><span class='nx'>toBeLotsBetter</span><span class='p'>();</span>&#x000A; <span class='p'>});</span>&#x000A;<span class='p'>});</span></code></pre>
</div>
<div class='copy'>
Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment,
or server-side environments like
<a href='httpe://nodejs.org' target='_blank'>Node.js</a>
.
</div>
<div class='copy'>
Find out more in the
<a href='http://github.com/pivotal/jasmine/wiki' target='_blank'>documentation</a>
.
</div>
<h2>Downloads</h2>
<ul>
<li>
<a href='download.html' target='_blank'>Standalone</a>
</li>
<li>
<a href='http://github.com/pivotal/jasmine/wiki/A-ruby-project' target='_blank'>Jasmine Ruby Gem</a>
for Rails, Ruby, or Ruby-friendly development
</li>
<li>
<a href='http://github.com/pivotal/jasmine/wiki' target='_blank'>Other environments</a>
Node.js, Maven, etc.
</li>
</ul>
<h2>Support</h2>
<ul>
<li>
<a href='jsdoc/index.html' target='_blank'>API Documentation</a>
</li>
<li>
<a href='http://groups.google.com/group/jasmine-js' target='_blank'>Google Group for email list:</a>
<a href='mailto:jasmine-js@googlegroups.com' target='_blank'>jasmine-js@googlegroups.com</a>
</li>
<li>
<a href='http://ci.pivotallabs.com' target='_blank'>Current Build Status</a>
</li>
<li>
<a href='http://github.com/pivotal/jasmine/issues' target='_blank'>Report bugs at Github</a>
</li>
<li>
<a href='http://www.pivotaltracker.com/projects/10606' target='_blank'>Project Backlog at Pivotal Tracker</a>
</li>
<li>
<img src='http://twitter-badges.s3.amazonaws.com/t_mini-c.png' />
<a href='http://twitter.com/JasmineBDD' target='_blank'>Follow @JasmineBDD on Twitter</a>
</li>
</ul>
</section>
<hr />
<span class='small'>Powered by &nbsp;</span>
<a href='http://pivotallabs.com' target='_blank'>
<img alt='Pivotal Labs, Inc.' src='/jasmine/images/pivotal_logo.gif' />
</a>
</body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

View File

@ -0,0 +1 @@
body{font:13px/1.5 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif}a:focus{outline:1px dotted}hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}h1{font-size:25px}h2{font-size:23px}h3{font-size:21px}h4{font-size:19px}h5{font-size:17px}h6{font-size:15px}ol{list-style:decimal}ul{list-style:disc}li{margin-left:30px}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset{margin-bottom:20px}

View File

@ -0,0 +1,62 @@
code .hll { background-color: #ffffcc }
code { background: #ffffff; }
code .c { color: #808080 } /* Comment */
code .err { color: #F00000; background-color: #F0A0A0 } /* Error */
code .k { color: #008000; font-weight: bold } /* Keyword */
code .o { color: #303030 } /* Operator */
code .cm { color: #808080 } /* Comment.Multiline */
code .cp { color: #507090 } /* Comment.Preproc */
code .c1 { color: #808080 } /* Comment.Single */
code .cs { color: #cc0000; font-weight: bold } /* Comment.Special */
code .gd { color: #A00000 } /* Generic.Deleted */
code .ge { font-style: italic } /* Generic.Emph */
code .gr { color: #FF0000 } /* Generic.Error */
code .gh { color: #000080; font-weight: bold } /* Generic.Heading */
code .gi { color: #00A000 } /* Generic.Inserted */
code .go { color: #808080 } /* Generic.Output */
code .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
code .gs { font-weight: bold } /* Generic.Strong */
code .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
code .gt { color: #0040D0 } /* Generic.Traceback */
code .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
code .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
code .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
code .kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */
code .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
code .kt { color: #303090; font-weight: bold } /* Keyword.Type */
code .m { color: #6000E0; font-weight: bold } /* Literal.Number */
code .s { background-color: #fff0f0 } /* Literal.String */
code .na { color: #0000C0 } /* Name.Attribute */
code .nb { color: #007020 } /* Name.Builtin */
code .nc { color: #B00060; font-weight: bold } /* Name.Class */
code .no { color: #003060; font-weight: bold } /* Name.Constant */
code .nd { color: #505050; font-weight: bold } /* Name.Decorator */
code .ni { color: #800000; font-weight: bold } /* Name.Entity */
code .ne { color: #F00000; font-weight: bold } /* Name.Exception */
code .nf { color: #0060B0; font-weight: bold } /* Name.Function */
code .nl { color: #907000; font-weight: bold } /* Name.Label */
code .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
code .nt { color: #007000 } /* Name.Tag */
code .nv { color: #906030 } /* Name.Variable */
code .ow { color: #000000; font-weight: bold } /* Operator.Word */
code .w { color: #bbbbbb } /* Text.Whitespace */
code .mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */
code .mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */
code .mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */
code .mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */
code .sb { background-color: #fff0f0 } /* Literal.String.Backtick */
code .sc { color: #0040D0 } /* Literal.String.Char */
code .sd { color: #D04020 } /* Literal.String.Doc */
code .s2 { background-color: #fff0f0 } /* Literal.String.Double */
code .se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
code .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
code .si { background-color: #e0e0e0 } /* Literal.String.Interpol */
code .sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */
code .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
code .s1 { background-color: #fff0f0 } /* Literal.String.Single */
code .ss { color: #A06000 } /* Literal.String.Symbol */
code .bp { color: #007020 } /* Name.Builtin.Pseudo */
code .vc { color: #306090 } /* Name.Variable.Class */
code .vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */
code .vi { color: #3030B0 } /* Name.Variable.Instance */
code .il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */

View File

@ -0,0 +1,152 @@
@import url("960gs/960.css");
/* http://www.levien.com/type/myfonts/inconsolata.html */
@font-face
{
font-family: "inconsolata";
src: url("../fonts/inconsolata.otf");
}
@font-face
{
font-family: "droid sans";
src: url("../fonts/droidsans.ttf");
}
@font-face
{
font-family: "droid sans bold";
src: url("../fonts/droidsans-bold.ttf");
}
body
{
color:#333;
font-family: helvetica, arial, sans-serif;
font-size:87.5%; /* 16px * 0.875 = 14px */
line-height: 137.5%; /* 16px * 1.375 = 22px */
}
a
{
color: #55862e;
text-decoration: none;
border-bottom: solid 1px #3030a2;
}
a:hover
{
text-decoration: none;
border-bottom: 0;
}
a:visited{
color: #777;
border-bottom: solid 1px #ccc;
}
h1, h2, h3, h4, h5, h6
{
color: #000;
}
h1, h2, h3
{
font-family: "droid sans", helvetica, arial, sans-serif;
}
h4, h5, h6
{
font-family: "droid sans bold", helvetica, arial, sans-serif;
}
h1
{
font-size: 150.0%;
}
h2
{
font-size: 137.5%;
}
h3
{
font-size: 125.0%;
}
h4
{
font-size: 112.5%;
}
h5, h6{
font-size: 100%;
}
pre,code
{
font-family: "inconsolata", monospace;
/* font-size: 1.142em; */
}
pre {
border-left: 2px solid #55862e;
padding-left: 1em;
}
.noul
{
border-bottom: 0;
text-decoration: none;
}
img {
border: 0;
}
img.screenshot {
padding-left: 35px;
padding-right: 10px;
}
header, footer
{
display: block;
padding: .1em 0;
}
header h1{
font-size:1.142em;
}
header h1 a, header h1 a:visited
{
color:#55862e;
text-decoration: none;
border-bottom: none;
}
footer{
margin-top:1em;
border-top: solid 3px #ccc;
}
footer img {
vertical-align: middle;
height: 59px;
}
.twtr-widget a,
.twtr-widget a:visited,
footer a,
footer a:visited {
border-bottom: none;
}
ul.posts
{
list-style-type: none;
}
nav {
margin-bottom: 25px;
}
table { border-collapse: collapse; width: 100% }
table th, table td { border: 1px solid #aaa; padding: .2em; }
table td { white-space:nowrap; }
#standalone-downloads td { font-family: monospace; }
#standalone-downloads td.sha { font-size: 0.8em; }
#standalone-downloads .rc td { background-color: #ddd; }

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB