update packaged ace

This commit is contained in:
Fabian Jakobs 2011-01-10 13:17:14 +01:00
commit a5eb376e4c
133 changed files with 13027 additions and 3335 deletions

18
build/pilot/typecheck.js Normal file
View file

@ -0,0 +1,18 @@
define(function(d, b) {
var c = Object.prototype.toString;
b.isString = function(a) {
return a && c.call(a) === "[object String]"
};
b.isBoolean = function(a) {
return a && c.call(a) === "[object Boolean]"
};
b.isNumber = function(a) {
return a && c.call(a) === "[object Number]" && isFinite(a)
};
b.isObject = function(a) {
return a !== undefined && (a === null || typeof a == "object" || Array.isArray(a) || b.isFunction(a))
};
b.isFunction = function(a) {
return a && c.call(a) === "[object Function]"
}
});