Created
January 8, 2012 08:26
-
-
Save jmarnold/1577709 to your computer and use it in GitHub Desktop.
fubuvalidation.js integration
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
$.continuations.applyPolicy({ | |
matches: function (continuation) { | |
return $('#' + continuation.correlationId).size() != 0; | |
}, | |
execute: function (continuation) { | |
if (!continuation.errors) { | |
continuation.errors = []; | |
} | |
$.fubuvalidation.process(continuation); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment