Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
80 lines (60 sloc) 2.383 kB
<!DOCTYPE html>
<html>
<head>
<meta content='text/html;charset=UTF-8' http-equiv='Content-Type'>
<title>AjaxSubmit</title>
<link href="vendor/jasmine/jasmine.css" media="screen" rel="stylesheet" type="text/css" />
<script src="vendor/jquery-1.7.1.js" type="text/javascript"></script>
<script src="vendor/jasmine/jasmine.js" type="text/javascript"></script>
<script src="vendor/jasmine/jasmine-html.js" type="text/javascript"></script>
<script src="vendor/mock-ajax.js" type="text/javascript"></script>
<!--<script src="vendor/jasmine-ajax.js" type="text/javascript"></script>-->
<script src="vendor/jasmine-jquery.js" type="text/javascript"></script>
<script src="vendor/coffee-script.js" type="text/javascript"></script>
<script src="src/form-errors.js.coffee" type="text/coffeescript"></script>
<script src="src/ajax-submit.js.coffee" type="text/coffeescript"></script>
<script src="spec/form-errors-spec.coffee" type="text/coffeescript"></script>
<script src="spec/ajax-submit-spec.coffee" type="text/coffeescript"></script>
<script>
//<![CDATA[
var jsApiReporter;
(function() {
var jasmineEnv = jasmine.getEnv();
jsApiReporter = new jasmine.JsApiReporter();
var trivialReporter = new jasmine.TrivialReporter();
jasmineEnv.addReporter(jsApiReporter);
jasmineEnv.addReporter(trivialReporter);
jasmineEnv.specFilter = function(spec) {
return trivialReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) {
currentWindowOnload();
}
// Wait for coffee-scripts async loading
setTimeout(execJasmine, "1000");
};
function execJasmine() {
jasmineEnv.execute();
}
})();
//]]>
</script>
</head>
<body>
<div id='jasmine_content'></div>
<div style="display:none">
<form id="test_form" action="/">
<div validate="email user user.email">
<label for="email">Email:</label>
<input type="text" name="email"/>
</div>
<div validate="name">
<label for="name">Name:</label>
<input type="text" name="name"/>
</div>
</form>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.