when I got an instantiate object of IScroll, i found the constructor of that instantiate object point to Object rather than IScroll。Why? -
i learning original code of iscroll.js. , found question title.this code exceted[enter image description here][1]
var myscroll = new iscroll('#wrapper', { mousewheel: true}); myscroll.constructor; // object myscroll.constructor === object; //true
Comments
Post a Comment