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