Skip to content

Instantly share code, notes, and snippets.

@hailwood
Created July 15, 2015 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hailwood/baaa10a0f9875cc92cae to your computer and use it in GitHub Desktop.
Save hailwood/baaa10a0f9875cc92cae to your computer and use it in GitHub Desktop.
Requirements::customScript(<<<JS
(function($) {
$('.icp-auto').entwine({
onmatch: function(){
$('.icp-auto').iconpicker();
this._super();
},
onunmatch: function() {
this._super();
}
});
})(jQuery);
JS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment