Misc cleanup

This commit is contained in:
Timothy Warren 2012-03-29 11:48:11 -04:00
parent 51dccdeaf9
commit 04e8f2e3c7
2 changed files with 43 additions and 42 deletions

View File

@ -209,7 +209,7 @@ if (typeof document !== "undefined" && !("classList" in document.createElement("
console.log(value);
console.log(sel);
console.log("Element does not have the selected attribute");
return;
return null;
}
//No value to set? Return the current value
@ -287,12 +287,12 @@ if (typeof document !== "undefined" && !("classList" in document.createElement("
sel.style[prop] = val;
//Short circuit
return;
return null;
}
else if(sel.style[equi[prop]])
{
sel.style[equi[prop]] = val;
return;
return null;
}
//No matches? Well, lets log it for now

View File

@ -107,4 +107,5 @@
$_.ext('post', function (url, data, callback){
ajax._do(url, data, callback, true);
});
}());