Commit RELEASE-NOTES line for the wgCategories js variable I added some time ago.
[lhc/web/wiklou.git] / js2 / mwEmbed / libClipEdit / pixastic-lib / pixastic.jquery.js
1
2 if (typeof jQuery != "undefined" && jQuery && jQuery.fn) {
3 jQuery.fn.pixastic = function(action, options) {
4 var newElements = [];
5 this.each(
6 function () {
7 if (this.tagName == "IMG" && !this.complete) {
8 return;
9 }
10 var res = Pixastic.process(this, action, options);
11 if (res) {
12 newElements.push(res);
13 }
14 }
15 );
16 if (newElements.length > 0)
17 return jQuery(newElements);
18 else
19 return this;
20 };
21
22 };