This commit is contained in:
Jacob 2010-02-11 08:10:29 -08:00
parent 9d47c17fc2
commit 0845d479b3
34 changed files with 3694 additions and 3694 deletions

View file

@ -1,27 +1,27 @@
/*
* Pixastic Lib - jQuery plugin
* Copyright (c) 2008 Jacob Seidelin, jseidelin@nihilogic.dk, http://blog.nihilogic.dk/
* License: [http://www.pixastic.com/lib/license.txt]
*/
if (typeof jQuery != "undefined" && jQuery && jQuery.fn) {
jQuery.fn.pixastic = function(action, options) {
var newElements = [];
this.each(
function () {
if (this.tagName.toLowerCase() == "img" && !this.complete) {
return;
}
var res = Pixastic.process(this, action, options);
if (res) {
newElements.push(res);
}
}
);
if (newElements.length > 0)
return jQuery(newElements);
else
return this;
};
};
/*
* Pixastic Lib - jQuery plugin
* Copyright (c) 2008 Jacob Seidelin, jseidelin@nihilogic.dk, http://blog.nihilogic.dk/
* License: [http://www.pixastic.com/lib/license.txt]
*/
if (typeof jQuery != "undefined" && jQuery && jQuery.fn) {
jQuery.fn.pixastic = function(action, options) {
var newElements = [];
this.each(
function () {
if (this.tagName.toLowerCase() == "img" && !this.complete) {
return;
}
var res = Pixastic.process(this, action, options);
if (res) {
newElements.push(res);
}
}
);
if (newElements.length > 0)
return jQuery(newElements);
else
return this;
};
};