This file contains hidden or 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
if (typeof require != "undefined") { | |
// should change export to module.exports = QUnit | |
QUnit = require("../qunit/qunit.js").QUnit; | |
print = console.log; | |
} else { | |
load("../qunit/qunit.js"); | |
} | |
var stop_watch = { |
This file contains hidden or 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
Index: tests/visual/menu/default.html | |
=================================================================== | |
--- tests/visual/menu/default.html (revision 3488) | |
+++ tests/visual/menu/default.html (working copy) | |
@@ -21,33 +21,6 @@ | |
selected: function(event, ui) { | |
$("<div/>").text("Selected: " + ui.item.text()).appendTo("#log"); | |
} | |
- }).keydown(function(event) { | |
- var menu = $(this).data("menu"); |
This file contains hidden or 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
// adding a remote validation customization, that allows us to submit the form even if the backend validation failed | |
function remoteFailsafe(url) { | |
return function(input) { | |
return { | |
url: url, | |
timeout: 10000, | |
error: function(request, status) { | |
request.abort(); | |
// if request failed, try to submit anyway | |
if (status === "timeout" && validator.formSubmitted) { |
NewerOlder