JavaScript数据类型和对象.docxVIP

  • 3
  • 0
  • 约1.14万字
  • 约 29页
  • 2021-03-15 发布于山东
  • 举报
JavaScript-数据类型和对象 jQuery 片段: 1 var 2 // Will speed up r eferences to window, and allows munging it s name. 3 window = this , 4 // Will speed up r eferences to #ff0000, and allows munging it s name. 5 undefined, 6 // Map over jQue ry in case of overwrite 7 _jQuery = windo w.jQuery, 8 // Map over the $ in case of overwrite 9 _$ = window.$, 10 11 jQuery = windo w.jQuery = window.$ = function ( selector, c ontext ) { // The jQuery object is actually just the init constructor en hanced 13 return new jQ uery.fn.init( selector, c ontext ); }, // A simple way to check for HTML stri ngs or ID strin

文档评论(0)

1亿VIP精品文档

相关文档