1
0
Fork 0
forked from 0x2620/oxjs

hide/show scrollbar on timeline resize

This commit is contained in:
rolux 2010-12-31 11:01:35 +00:00
commit 5dffb191ee
3 changed files with 40 additions and 27 deletions

View file

@ -171,7 +171,7 @@ Ox.equals = function(obj0, obj1) {
ret = true;
} else if (Ox.isArray(obj0) && obj0.length == obj1.length) {
Ox.each(obj0, function(i, v) {
ret = v == obj1[i];
ret = Ox.equals(v, obj1[i]);
return ret;
});
} else if (Ox.isObject(obj0)) {
@ -1861,7 +1861,7 @@ Ox.isBoolean = function(val) {
>>> Ox.isBoolean(false)
true
*/
return typeof val == "boolean";
return typeof val == 'boolean';
};
Ox.isDate = function(val) {
@ -1879,7 +1879,7 @@ Ox.isFunction = function(val) { // is in jQuery
>>> Ox.isFunction(/ /)
false
*/
return typeof val == "function" && !Ox.isRegExp(val);
return typeof val == 'function' && !Ox.isRegExp(val);
};
Ox.isNull = function(val) {
@ -1899,7 +1899,7 @@ Ox.isNumber = function(val) {
>>> Ox.isNumber(NaN)
false
*/
return typeof val == "number" && isFinite(val);
return typeof val == 'number' && isFinite(val);
};
Ox.isObject = function(val) {
@ -1913,7 +1913,7 @@ Ox.isObject = function(val) {
>>> Ox.isObject(null)
false
*/
return typeof val == "object" && !$.isArray(val) &&
return typeof val == 'object' && !$.isArray(val) &&
!Ox.isDate(val) && !Ox.isNull(val);
};
@ -1927,10 +1927,10 @@ Ox.isRegExp = function(val) {
Ox.isString = function(val) {
/*
>>> Ox.isString("")
>>> Ox.isString('')
true
*/
return typeof val == "string";
return typeof val == 'string';
};
Ox.isUndefined = function(val) {
@ -1938,5 +1938,5 @@ Ox.isUndefined = function(val) {
>>> Ox.isUndefined()
true
*/
return typeof val == "undefined";
return typeof val == 'undefined';
};