Add a new color picker...

This commit is contained in:
Paulo Veiga
2011-08-09 01:45:24 -03:00
parent 234a54b166
commit 7d9af403fe
17 changed files with 5958 additions and 5534 deletions

View File

@@ -24,18 +24,6 @@ core.Utils =
}
};
/*
Function: $defined
Returns true if the passed in value/object is defined, that means is not null or undefined.
Arguments:
obj - object to inspect
*/
function $defined(obj) {
return (obj != undefined);
}
;
/**
* http://kevlindev.com/tutorials/javascript/inheritance/index.htm
* A function used to extend one class with another
@@ -58,21 +46,6 @@ objects.extend = function(subClass, baseClass) {
subClass.superClass = baseClass.prototype;
};
$assert = function(assert, message) {
if (!$defined(assert) || !assert) {
var stack;
try {
null.eval();
} catch(e) {
stack = e;
}
wLogger.error(message + "," + stack);
// core.Logger.logError(message + "," + stack);
}
};
Math.sign = function(value) {
return (value >= 0) ? 1 : -1;
};