mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
load list of spec files from the server
This commit is contained in:
parent
cc7ddddd2f
commit
cac27c864a
3 changed files with 18 additions and 10 deletions
|
@ -18,15 +18,7 @@
|
|||
<script src="lib/jquery.iframe.js"></script>
|
||||
<script src="helper.js"></script>
|
||||
|
||||
<script src="specs/button_undo.js"></script>
|
||||
<script src="specs/button_bold.js"></script>
|
||||
<script src="specs/button_italic.js"></script>
|
||||
<script src="specs/keystroke_urls_become_clickable.js"></script>
|
||||
<script src="specs/keystroke_delete.js"></script>
|
||||
<script src="specs/font_type.js"></script>
|
||||
<script src="specs/embed_value.js"></script>
|
||||
<script src="specs/keystroke_urls_become_clickable.js"></script>
|
||||
<script src="specs/button_indentation.js"></script>
|
||||
<script src="specs_list.js"></script>
|
||||
|
||||
<script src="runner.js"></script>
|
||||
</html>
|
||||
|
|
|
@ -4,6 +4,13 @@ $(function(){
|
|||
document.domain = document.domain; // for comet
|
||||
}
|
||||
|
||||
var specs = specs_list.slice();
|
||||
|
||||
var $body = $('body')
|
||||
$.each(specs, function(i, spec){
|
||||
$body.append('<script src="specs/' + spec + '"></script>')
|
||||
});
|
||||
|
||||
//initalize the test helper
|
||||
helper.init(function(){
|
||||
//configure and start the test framework
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue