Skip to content

Commit

Permalink
# 0.4.0 / 2016/1/23
Browse files Browse the repository at this point in the history
- 使用translate3d硬件加速
- 首尾屏添加拖动阻力
- 添加纯js实现版本,无zepto依赖
- 增加滑动阈值判断
- 增加获取当前是第几屏的方法
- 扩展beforeChange返回值的功能,若beforeChange显示返回false,则可阻止滚屏的发生
- 添加丰富的demo
- 修复文档描述错误
  • Loading branch information
yanhaijing committed Jan 23, 2016
1 parent f2206b7 commit f2eaf0b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 0.4.0 / 2016/1/23
- 使用translate3d硬件加速
- 首尾屏添加拖动阻力
- 添加纯js实现版本,无zepto依赖
- 增加滑动阈值判断
- 增加获取当前是第几屏的方法
- 扩展beforeChange返回值的功能,若beforeChange显示返回false,则可阻止滚屏的发生
- 添加丰富的demo
- 修复文档描述错误

# 0.3.1 / 2015/5/20
- 修改change and afterChange 默认参数
- 修复阻止touch事件的默认行为的bug
Expand All @@ -19,4 +29,4 @@
- 丰富的回调函数
- 丰富的公开方法
- 尺寸变更,自动重渲染
- CSS 3D加速功能
- CSS 3D加速功能
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# zepto.fullpage
[![release](https://img.shields.io/badge/release-v0.3.1-orange.svg)](https://github.com/yanhaijing/zepto.fullpage/releases) [![issues](https://img.shields.io/github/issues/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/issues) [![forks](https://img.shields.io/github/forks/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/network) [![stars](https://img.shields.io/github/stars/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/stargazers) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yanhaijing/zepto.fullpage/blob/master/LICENSE)
[![release](https://img.shields.io/badge/release-v0.4.0-orange.svg)](https://github.com/yanhaijing/zepto.fullpage/releases) [![issues](https://img.shields.io/github/issues/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/issues) [![forks](https://img.shields.io/github/forks/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/network) [![stars](https://img.shields.io/github/stars/yanhaijing/zepto.fullpage.svg)](https://github.com/yanhaijing/zepto.fullpage/stargazers) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yanhaijing/zepto.fullpage/blob/master/LICENSE)

专注于移动端的fullPage.js,依赖Zepto。

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zepto.fullpage",
"version": "0.3.1",
"version": "0.4.0",
"homepage": "https://github.com/yanhaijing/zepto.fullpage",
"authors": [
"yanhaijing <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion src/js.fullpage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* zepto.fullpage.js v0.3.1 (https://github.com/yanhaijing/zepto.fullpage)
* zepto.fullpage.js v0.4.0 (https://github.com/yanhaijing/zepto.fullpage)
* API https://github.com/yanhaijing/zepto.fullpage/blob/master/doc/api.md
* Copyright 2014 yanhaijing. All Rights Reserved
* Licensed under MIT (https://github.com/yanhaijing/zepto.fullpage/blob/master/LICENSE)
Expand Down
4 changes: 2 additions & 2 deletions src/zepto.fullpage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* zepto.fullpage.js v0.3.1 (https://github.com/yanhaijing/zepto.fullpage)
* zepto.fullpage.js v0.4.0 (https://github.com/yanhaijing/zepto.fullpage)
* API https://github.com/yanhaijing/zepto.fullpage/blob/master/doc/api.md
* Copyright 2014 yanhaijing. All Rights Reserved
* Licensed under MIT (https://github.com/yanhaijing/zepto.fullpage/blob/master/LICENSE)
Expand Down Expand Up @@ -219,7 +219,7 @@
}
return this;
};
$.fn.fullpage.version = '0.3.1';
$.fn.fullpage.version = '0.4.0';
//暴露方法
$.each(['update', 'moveTo', 'moveNext', 'movePrev', 'start', 'stop', 'getCurIndex'], function(key, val) {
$.fn.fullpage[val] = function() {
Expand Down

0 comments on commit f2eaf0b

Please sign in to comment.