Created
May 23, 2016 09:34
-
-
Save ikenfin/d4bdb70555ef5f7de9931b65fa543775 to your computer and use it in GitHub Desktop.
Jquery compatible SirTrevor block
This file contains 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
/* | |
JQCBlock - jquery compatible sir trevor block (old style) | |
it may be usefull for legacy jquery dependent code | |
*/ | |
SirTrevor.JQCompatibleBlock = SirTrevor.Block.extend({ | |
$ : function(selector) { | |
return $(this.el).find(selector); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment