| 1 |
<!DOCTYPE HTML> |
| 2 |
<html> |
| 3 |
|
| 4 |
<head> |
| 5 |
<title>Backbone.Stickit Test Suite</title> |
| 6 |
|
| 7 |
<link rel="stylesheet" href="vendor/qunit.css" type="text/css"/> |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
<script type="text/javascript" src="vendor/jquery.js"></script> |
| 12 |
<script type="text/javascript" src="vendor/qunit.js"></script> |
| 13 |
<script type="text/javascript" src="vendor/underscore.js"></script> |
| 14 |
<script type="text/javascript" src="vendor/backbone.js"></script> |
| 15 |
<script type="text/javascript" src="../backbone.stickit.js"></script> |
| 16 |
|
| 17 |
<script type="text/javascript" src="testScaffolding.js"></script> |
| 18 |
<script type="text/javascript" src="bindData.js"></script> |
| 19 |
<script type="text/javascript" src="modelBinding.js"></script> |
| 20 |
<script type="text/javascript" src="addHandler.js"></script> |
| 21 |
</head> |
| 22 |
|
| 23 |
<body> |
| 24 |
<div id="qunit"></div> |
| 25 |
<div id="qunit-fixture"> |
| 26 |
<div id='testElement'> |
| 27 |
<h1>Test</h1> |
| 28 |
</div> |
| 29 |
</div> |
| 30 |
|
| 31 |
<script id="jst0" type="text/jst"> |
| 32 |
<div id="test0-div"></div> |
| 33 |
<textarea id="test0-textarea"></textarea> |
| 34 |
<span id="test0-span"></span> |
| 35 |
<input type="text" id="test0-input"> |
| 36 |
</script> |
| 37 |
|
| 38 |
<script id="jst1" type="text/jst"><input type="text" id="test1"></script> |
| 39 |
|
| 40 |
<script id="jst2" type="text/jst"><textarea id="test2"></textarea></script> |
| 41 |
|
| 42 |
<script id="jst3" type="text/jst"><input type="checkbox" id="test3"></script> |
| 43 |
|
| 44 |
<script id="jst4" type="text/jst"> |
| 45 |
<input type="radio" name="water" value="fountain" class="test4"> |
| 46 |
<input type="radio" name="water" value="evian" class="test4"> |
| 47 |
</script> |
| 48 |
|
| 49 |
<script id="jst5" type="text/jst"><div id="test5"></div></script> |
| 50 |
|
| 51 |
<script id="jst6" type="text/jst"><input type="text" id="test6"></script> |
| 52 |
|
| 53 |
<script id="jst7" type="text/jst"><input type="text" id="test7"></script> |
| 54 |
|
| 55 |
<script id="jst8" type="text/jst"><select id="test8"></select></script> |
| 56 |
|
| 57 |
<script id="jst9" type="text/jst"><div data-bind="water" class="test" id="test9"></div></script> |
| 58 |
|
| 59 |
<script id="jst10" type="text/jst"> |
| 60 |
<input type="text" class="test10"> |
| 61 |
<input type="text" class="test10"> |
| 62 |
</script> |
| 63 |
|
| 64 |
<script id="jst11" type="text/jst"><input type="number" id="test11"></script> |
| 65 |
|
| 66 |
<script id="jst12" type="text/jst"> |
| 67 |
<input type="number" class="test12-1"> |
| 68 |
<input type="number" class="test12-2"> |
| 69 |
<input type="number" class="test12-3"> |
| 70 |
<input type="number" class="test12-4"> |
| 71 |
<input type="number" class="test12-5"> |
| 72 |
<input type="number" class="test12-6"> |
| 73 |
</script> |
| 74 |
|
| 75 |
<script id="jst13" type="text/jst"> |
| 76 |
<input type="number" class="test13-5"> |
| 77 |
<input type="number" class="test13-6"> |
| 78 |
</script> |
| 79 |
|
| 80 |
<script id="jst14" type="text/jst"> |
| 81 |
<div id="test14-1"></div> |
| 82 |
<div id="test14-2">Test</div> |
| 83 |
<div id="test14-3"></div> |
| 84 |
<div id="test14-4">Test 2</div> |
| 85 |
<div id="test14-5"></div> |
| 86 |
<input type="text" id="test14-6"> |
| 87 |
</script> |
| 88 |
|
| 89 |
<script id="jst15" type="text/jst"> |
| 90 |
<div id="test15-1"></div> |
| 91 |
<input id="test15-2" type="text"> |
| 92 |
<input id="test15-3" type="checkbox"> |
| 93 |
<input class="test15-4" type="radio" name="water" value="fountain"> |
| 94 |
<input class="test15-4" type="radio" name="water" value="evian"> |
| 95 |
<textarea id="test15-6"></textarea> |
| 96 |
<select id="test15-7"></select> |
| 97 |
</script> |
| 98 |
|
| 99 |
<script id="jst16" type="text/jst"><select id="test16" multiple="true"></select></script> |
| 100 |
|
| 101 |
<script id="jst17" type="text/jst"> |
| 102 |
<div id="test17-1" contenteditable="true"></div> |
| 103 |
<div id="test17-2" contenteditable></div> |
| 104 |
</script> |
| 105 |
|
| 106 |
<script id="jst18" type="text/jst"> |
| 107 |
<input type="checkbox" class="boxes" value="fountain"> |
| 108 |
<input type="checkbox" class="boxes" value="evian"> |
| 109 |
<input type="checkbox" class="boxes" value="dasina"> |
| 110 |
</script> |
| 111 |
|
| 112 |
<script id="jst19" type="text/jst"> |
| 113 |
<input type="checkbox" class="box" value="fountain"> |
| 114 |
</script> |
| 115 |
|
| 116 |
<script id="jst20" type="text/jst"> |
| 117 |
<input class='trim'> |
| 118 |
<input class='input'> |
| 119 |
<textarea id="textarea"></textarea> |
| 120 |
<div id="div"></div> |
| 121 |
</script> |
| 122 |
|
| 123 |
<script id="jst21" type="text/jst"> |
| 124 |
<select id="test21"> |
| 125 |
<option value="1">foutain</option> |
| 126 |
<option value="2">evian</option> |
| 127 |
<option value="3">dasina</option> |
| 128 |
</select> |
| 129 |
</script> |
| 130 |
|
| 131 |
<script id="jst22" type="text/jst"> |
| 132 |
<select id="test22"> |
| 133 |
<optgroup label="Looney Tunes"> |
| 134 |
<option value="1">Bugs Bunny</option> |
| 135 |
<option value="2">Donald Duck</option> |
| 136 |
</optgroup> |
| 137 |
<optgroup label="Three Stooges"> |
| 138 |
<option value="3">moe</option> |
| 139 |
<option value="4">larry</option> |
| 140 |
<option value="5">curly</option> |
| 141 |
</optgroup> |
| 142 |
</select> |
| 143 |
</script> |
| 144 |
|
| 145 |
<script id="jst23" type="text/jst"> |
| 146 |
<select id="test23" multiple="multiple"> |
| 147 |
<option value="1">foutain</option> |
| 148 |
<option value="2">evian</option> |
| 149 |
<option value="3">dasina</option> |
| 150 |
<option value="4">aquafina</option> |
| 151 |
</select> |
| 152 |
</script> |
| 153 |
|
| 154 |
<script id="jst24" type="text/jst"> |
| 155 |
<select id="test24"> |
| 156 |
<option value="0">Darth Vader</option> |
| 157 |
<optgroup label="Looney Tunes"> |
| 158 |
<option value="1">Bugs Bunny</option> |
| 159 |
<option value="2">Donald Duck</option> |
| 160 |
</optgroup> |
| 161 |
<optgroup label="Three Stooges"> |
| 162 |
<option value="3">moe</option> |
| 163 |
<option value="4">larry</option> |
| 164 |
<option value="5">curly</option> |
| 165 |
</optgroup> |
| 166 |
</select> |
| 167 |
</script> |
| 168 |
|
| 169 |
<script id="jst25" type="text/jst"> |
| 170 |
<input type="radio" name="water" value="one" class="test25"> |
| 171 |
<input type="radio" name="water" checked value="two" class="test25"> |
| 172 |
</script> |
| 173 |
|
| 174 |
<script id="jst26" type="text/jst"> |
| 175 |
<select id="test26"> |
| 176 |
<option value="0" data-stickit-bind-val="0">foutain</option> |
| 177 |
<option value="1" data-stickit-bind-val="1">structured</option> |
| 178 |
<option value="2" data-stickit-bind-val="2">evian</option> |
| 179 |
<option value="3" data-stickit-bind-val="3">dasina</option> |
| 180 |
<option value="4" data-stickit-bind-val="4">aquafina</option> |
| 181 |
</select> |
| 182 |
</script> |
| 183 |
|
| 184 |
</body> |
| 185 |
|
| 186 |
</html> |