This commit is contained in:
Davis W. Frank 2011-01-25 13:14:20 -08:00
parent a5b292f59b
commit 1f46196280
11 changed files with 218 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.bundle/
.idea/
_site/
site/

1
.rvmrc Normal file
View File

@ -0,0 +1 @@
rvm use default@jasmine

3
config/compass.rb Normal file
View File

@ -0,0 +1,3 @@
require "staticmatic/compass"
project_type = :staticmatic

16
config/site.rb Normal file
View File

@ -0,0 +1,16 @@
# Default is 3000
# configuration.preview_server_port = 3000
# Default is localhost
# configuration.preview_server_host = "localhost"
# Default is true
# When false .html & index.html get stripped off generated urls
# configuration.use_extensions_for_page_links = true
# Default is an empty hash
# configuration.sass_options = {}
# Default is an empty hash
# http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options
# configuration.haml_options = {}

60
download.html Normal file
View File

@ -0,0 +1,60 @@
<!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' />
</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>
<tr>
<td class='link'><a href="jasmine-standalone-1.0.1.zip">downloads/jasmine-standalone-1.0.1.zip</a></td>
<td class='version'>1.0.1</td>
<td class='size'>20k</td>
<td class='date'>2010/10/05 13:37:01 PDT</td>
<td class='sha'>b2b3d00a7cb8d5ccd65a3356bb5ae15775328119</td>
</tr>
<tr>
<td class='link'><a href="jasmine-standalone-1.0.0.zip">downloads/jasmine-standalone-1.0.0.zip</a></td>
<td class='version'>1.0.0</td>
<td class='size'>20k</td>
<td class='date'>2010/09/14 12:54:38 PDT</td>
<td class='sha'>1866f654a3ad0ab9109393ce31d6613c77916607</td>
</tr>
<tr class='rc'>
<td class='link'><a href="jasmine-standalone-1.0.0.rc1.zip">downloads/jasmine-standalone-1.0.0.rc1.zip</a></td>
<td class='version'>1.0.0.rc1</td>
<td class='size'>19k</td>
<td class='date'>2010/08/26 13:09:41 PDT</td>
<td class='sha'>20e7da22bc7ce3433331a5ad44eb199f4ff34065</td>
</tr>
<tr>
<td class='link'><a href="jasmine-standalone-0.11.1.zip">downloads/jasmine-standalone-0.11.1.zip</a></td>
<td class='version'>0.11.1</td>
<td class='size'>18k</td>
<td class='date'>2010/06/25 16:05:30 PDT</td>
<td class='sha'>26998c7ca047e47f84c382a4efeb1dc5cb8661a6</td>
</tr>
</table>
</section>
</body>

67
index.html Normal file
View File

@ -0,0 +1,67 @@
<!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' />
</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="http://nodejs.org">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">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">Follow @JasmineBDD on Twitter</a>
</li>
</ul>
<hr>
<span class='small'>
Powered by &nbsp;
<a href='http://pivotallabs.com' target='_blank'>
<img alt='Pivotal Labs, Inc.' src='/jasmine/images/pivotal_logo.gif' />
</a>
</span>
</hr>
</section>
</body>

1
jasmine Symbolic link
View File

@ -0,0 +1 @@
jasmine

13
src/layouts/default.haml Normal file
View File

@ -0,0 +1,13 @@
!!!
%head
%meta{:charset => "utf-8"}
%title Jasmine: BDD for your JavaScript
%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/pygments.css" }
%body
%img.github{ :style => "position: absolute; top: 0; right: 0; border: 0;", :src => "http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png", :alt => "Fork me on GitHub" }
.banner
%img{ :src => "/jasmine/images/jasmine_logo.png", :alt => "Jasmine: BDD for your JavaScript" }
%section{ :class => "content" }= yield

47
src/pages/index.haml Normal file
View File

@ -0,0 +1,47 @@
.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.
.highlight
%pre
%code.javascript= snippet
.copy
Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment, |
or server-side environments like
= link "Node.js", "http://nodejs.org"
.copy
Find out more in the
= link("documentation", "http://github.com/pivotal/jasmine/wiki", :target => '_blank') + '.'
%h2 Downloads
%ul
%li= link "Standalone", "download.html"
%li
= link "Jasmine Ruby Gem", "http://github.com/pivotal/jasmine/wiki/A-ruby-project", :target => '_blank'
for Rails, Ruby, or Ruby-friendly development
%li
= link "Other environments", "http://github.com/pivotal/jasmine/wiki", :target => '_blank'
Node.js, Maven, etc.
%h2 Support
%ul
%li= link "API Documentation", "jsdoc/index.html", :target => '_blank'
%li
= link "Google Group for email list:", "http://groups.google.com/group/jasmine-js", :target => '_blank'
= link "jasmine-js@googlegroups.com", "mailto:jasmine-js@googlegroups.com", :target => '_blank'
%li= link "Current Build Status", "http://ci.pivotallabs.com", :target => '_blank'
%li= link "Report bugs at GitHub", "http://github.com/pivotal/jasmine/issues", :target => '_blank'
%li= link "Project Backlog at Pivotal Tracker", "http://www.pivotaltracker.com/projects/10606", :target => '_blank'
%li
%img{:src => "http://twitter-badges.s3.amazonaws.com/t_mini-c.png"}
= link "Follow @JasmineBDD on Twitter", "http://twitter.com/JasmineBDD"
%hr
%span.small
Powered by &nbsp;
%a{ :href => "http://pivotallabs.com" , :target => '_blank' }
%img{ :src => "/jasmine/images/pivotal_logo.gif", :alt => "Pivotal Labs, Inc." }

View File

@ -0,0 +1,4 @@
body
font:
family: Verdana
size: 10pt

5
stylesheets/screen.css Normal file
View File

@ -0,0 +1,5 @@
/* line 1 */
body {
font-family: Verdana;
font-size: 10pt;
}