Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0eaa2d1
commit fba137c
Showing
3 changed files
with
39 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,24 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<title>sausage.js</title> | ||
|
||
<!-- apply CSS reset because we are not savages --> | ||
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset/reset-min.css"> | ||
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.8.1/build/reset-fonts/reset-fonts.css"> | ||
<link rel="stylesheet" type="text/css" href="../sausage.css"> | ||
|
||
<style type="text/css"> | ||
|
||
body { | ||
overflow-y: scroll; | ||
} | ||
#site { | ||
width: 500px; | ||
padding: 40px; margin: 0 auto; | ||
} | ||
h1 { | ||
margin-bottom: 40px; | ||
font-size: 24px; | ||
} | ||
.page-set { | ||
|
||
} | ||
.page { | ||
padding: 20px; margin-bottom: 40px; | ||
background-color: #eee; | ||
-moz-border-radius: 20px; | ||
-webkit-border-bottom-left-radius: 20px; | ||
-webkit-border-top-left-radius: 20px; | ||
-webkit-border-bottom-right-radius: 20px; | ||
-webkit-border-top-right-radius: 20px; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<script type="text/javascript" src="../lib/jquery-1.5.1.js"></script> | ||
<script type="text/javascript" src="../lib/jquery.ui.widget.js"></script> | ||
<script type="text/javascript" src="../jquery.sausage.js"></script> | ||
<script type="text/javascript" src="../jquery.sausage.test.js"></script> | ||
|
||
</body> | ||
|
||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>sausage.js - Tests</title> | ||
<link rel="stylesheet" type="text/css" href="../lib/qunit.css" /> | ||
<script type="text/javascript" src="../lib/jquery-1.5.1.js"></script> | ||
<script type="text/javascript" src="../lib/jquery.ui.widget.js"></script> | ||
<script type="text/javascript" src="../lib/qunit.js"></script> | ||
<script type="text/javascript" src="../lib/jslitmus.js"></script> | ||
<script type="text/javascript" src="../jquery.sausage.js"></script> | ||
<script type="text/javascript" src="test.js"></script> | ||
<script type="text/javascript" src="speed.js"></script> | ||
</head> | ||
<body> | ||
<h1 id="qunit-header">Sausage Test Suite</h1> | ||
<h2 id="qunit-banner"></h2> | ||
<h2 id="qunit-userAgent"></h2> | ||
<ol id="qunit-tests"></ol> | ||
<br /> | ||
<h1 class="qunit-header">Sausage Speed Suite</h1> | ||
<p></p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
$(function(){ | ||
|
||
var numbers = [], | ||
$el = $('<div>').appendTo('body'); | ||
|
||
$el | ||
.sausage() | ||
; | ||
|
||
JSLitmus.test('draw', function(count){ | ||
while (count--) | ||
{ | ||
$el.sausage("draw"); | ||
} | ||
}); | ||
|
||
}); |
File renamed without changes.