rectest/scripts/main.js

29 lines
499 B
JavaScript
Raw Normal View History

2012-03-03 12:06:40 -05:00
window.Class = easejs.Class;
window.Interface = easejs.Interface;
2012-03-03 12:06:40 -05:00
// namespace
window.rectest = { set: {}, cases: {} };
2012-03-03 12:06:40 -05:00
$( document ).ready( function()
{
2012-03-03 23:33:16 -05:00
var app = rectest.RecTest( jQuery, rectest.cases ).init()
.listCases( $( '#case' ) )
;
2012-03-03 23:33:16 -05:00
$( '#continue' ).click( function()
{
app.goVerify();
} );
$( '#reconfigure' ).click( function()
{
app.goConfig();
} );
$( '#run' ).click( function()
{
app.run();
} );
2012-03-03 12:06:40 -05:00
} );