What is the possibility of the $subject?
Just imagine I have a foo html element
e.g.
<div data-toggle="loader">...</div>
and have a jquery function binded to it by default,
e.g.
$(document).ready(function(){
$('[data-toggle=loader]').loader();
});
So this will change the DOM element to something like,
e.g.
<div data-toggle="loader" class="active" style="height:800px">...</div>
So what I want to do is prevent applying the changes to the foo element, if it has a class name .example. So the catch is, I cannot touch the default execution code. But I can write another function to handle it. That is the problem I'm facing right now. Any possibility of achieving this?