2 if (typeof jQuery
!= "undefined" && jQuery
&& jQuery
.fn
) {
3 jQuery
.fn
.pixastic = function(action
, options
) {
7 if (this.tagName
== "IMG" && !this.complete
) {
10 var res
= Pixastic
.process(this, action
, options
);
12 newElements
.push(res
);
16 if (newElements
.length
> 0)
17 return jQuery(newElements
);