Skip to content

Latest commit

 

History

History
41 lines (38 loc) · 1.01 KB

schedule.md

File metadata and controls

41 lines (38 loc) · 1.01 KB

TODO:

  • cookie test case ( test/cookie.js )
  • util function in core qunit test ( test/core.js )
  • getElementsByClassName
  • getPosition/getXY
  • offset
  • scrollLeft
  • scrollTop
  • val
  • getStyles
  • jquery里面的csshooks?

DONE

  • has/add/removeClass
  • remove
  • q
  • remove(remove self from dom)
  • prependChild
  • prependChildHtml
  • cookie.get
  • cookie.set
  • cookie.remove
  • namespace
  • apply
  • json
  • trim
  • isArray
  • getStyle
  • setStyle 完善css3的setstyle:JS_CSS_NAME
  • bind/unbind
  • each
  • extend
  • extendSubClass

DOING:

  • dom operation test case ( test/core.js )
  • jquery-1.10.2.js $().width/height() => line:9718 => line:9724 jQuery.access => line:9749 jQuery.css => line:7046
  • height getComputedStyle 在ie和其他浏览器下有的返回em有的返回px的统一性没有做,如果getComputedStyle返回为null,则用el.style替代( why )
  • width 同上
  • ajax 基本功能已经实现,改进部分为:增加promise模式,增加timeout支持,增加submit form支持,增加xhr2的支持