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);
}

 参考:http://pastebin.com/H9xQW1Bs

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2021-05-31
  • 2019-12-26
猜你喜欢
  • 2021-07-31
  • 2021-11-20
  • 2021-06-29
  • 2021-05-19
  • 2022-01-06
  • 2021-12-17
相关资源
相似解决方案