refresh.js 212 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 8 9 10 if ( this.options.snap ) { var snap = this._nearestSnap(this.x, this.y); if ( this.x == snap.x && this.y == snap.y ) { return; } this.currentPage = snap; this.scrollTo(snap.x, snap.y); }