If anyone wants it smaller, I had a go at minifying it
$.extend({
hook: function(h) {
return !h||h==='*'?$('[data-hook]'):$('[data-hook~="'+h+'"]');
}
});
If anyone wants it smaller, I had a go at minifying it
$.extend({
hook: function(h) {
return !h||h==='*'?$('[data-hook]'):$('[data-hook~="'+h+'"]');
}
});