forked from vodkabears/Remodal
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parsing of non-json strings with options
- Loading branch information
1 parent
d76f925
commit 7704731
Showing
3 changed files
with
79 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
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,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Vide Test Suite</title> | ||
<!-- Load local jQuery. This can be overridden with a ?jquery=___ param. --> | ||
<script src="../libs/jquery-loader.js"></script> | ||
<!-- Load local QUnit. --> | ||
<link rel="stylesheet" href="../libs/qunit/qunit.css" media="screen"> | ||
<script src="../libs/qunit/qunit.js"></script> | ||
<!-- Load local lib and tests. --> | ||
<script src="../src/jquery.remodal.js"></script> | ||
<script src="remodal_test.js"></script> | ||
<script>window._$ = jQuery.noConflict(true);</script> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"></div> | ||
</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,23 @@ | ||
(function ($) { | ||
/* | ||
======== A Handy Little QUnit Reference ======== | ||
http://api.qunitjs.com/ | ||
Test methods: | ||
module(name, {[setup][ ,teardown]}) | ||
test(name, callback) | ||
expect(numberOfAssertions) | ||
stop(increment) | ||
start(decrement) | ||
Test assertions: | ||
ok(value, [message]) | ||
equal(actual, expected, [message]) | ||
notEqual(actual, expected, [message]) | ||
deepEqual(actual, expected, [message]) | ||
notDeepEqual(actual, expected, [message]) | ||
strictEqual(actual, expected, [message]) | ||
notStrictEqual(actual, expected, [message]) | ||
throws(block, [expected], [message]) | ||
*/ | ||
|
||
}(jQuery)); |