Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jquery compatible SirTrevor block
/*
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
You can’t perform that action at this time.