Created
March 25, 2013 19:37
-
-
Save pbrewczynski/5239966 to your computer and use it in GitHub Desktop.
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
$stepCollection.each( function (index,el) { | |
var $self = $(this); // wednesday and so on .. | |
$self.data("validate" , validationMethods[$self.data("insert-property")]); | |
}); | |
$stepCollection.eq(1).data("validate")(); // This have context of window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment