-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ref #105 Added jasmine and testcases
- testcases for initialization, callbacks, pagination - added gulp task for running testcases Ref #105 added jasmine(v2.3.4) for test cases -added test cases for Filter JS initialization -added test cases for Filter JS callbacks -added a gulp task for running test cases Ref #105 added test cases for Filter JS pagination
- Loading branch information
Aditya Shedge
committed
Dec 20, 2015
1 parent
63a4ad8
commit f1422fa
Showing
15 changed files
with
14,067 additions
and
0 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
Empty file.
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,55 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Filter JS Specs</title> | ||
|
||
<link rel="shortcut icon" type="image/png" href="lib/jasmine-2.3.4/jasmine_favicon.png"> | ||
<link rel="stylesheet" href="lib/jasmine-2.3.4/jasmine.css"> | ||
|
||
<script type="text/javascript" src="lib/jasmine-2.3.4/jasmine.js"></script> | ||
<script type="text/javascript" src="lib/jasmine-2.3.4/jasmine-html.js"></script> | ||
<script type="text/javascript" src="lib/jasmine-2.3.4/boot.js"></script> | ||
|
||
<!-- include source files here... --> | ||
<script type="text/javascript" src="lib/jquery.js"></script> | ||
<script type="text/javascript" src="dist/filter.js"></script> | ||
|
||
<script type="text/javascript" src="data/movies.js"></script> | ||
<!-- include spec files here... --> | ||
<script src="filterjs_spec.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="container" style="display: none;"> | ||
<div> | ||
<input type="text" class="form-control" id="searchbox" placeholder="Search …" autocomplete="off"> | ||
</div> | ||
|
||
<table class="movies" id="movies"> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Director</th> | ||
<th>Actors</th> | ||
<th>Year</th> | ||
</thead> | ||
</table> | ||
|
||
<div id="pagination" class="movies-pagination"></div> | ||
<div> | ||
Per Page: <span id="per_page"></span> | ||
</div> | ||
|
||
<script id="movie-template" type="text/html"> | ||
<tr> | ||
<td><%= name %></td> | ||
<td><%= director %></td> | ||
<td><%= stars %></td> | ||
<td><%= year %></td> | ||
</div> | ||
</tr> | ||
</script> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.