javascript 常用函数
typeof(callback) == 'function'
if (jQuery.typeOf(key) === 'string') {
image = new Image();
image.src = key;
callback = arg[key];
if (jQuery.typeOf(callback) === 'function') {
image.onload = callback;
}
images.push(image);
}
typeof(callback) == 'function'
if (jQuery.typeOf(key) === 'string') {
image = new Image();
image.src = key;
callback = arg[key];
if (jQuery.typeOf(callback) === 'function') {
image.onload = callback;
}
images.push(image);
}