Skip to content

Commit 1ec99ec

Browse files
committed
chore: format code with prettier
1 parent 3e7575a commit 1ec99ec

35 files changed

+3837
-3752
lines changed

.eslintrc.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
module.exports = {
22
root: true,
3-
"extends": "eslint:recommended",
3+
extends: 'eslint:recommended',
44
rules: {
55
indent: ['error', 2, { MemberExpression: 'off' }],
6-
"semi": ["error", "always"],
7-
"no-undef": 0,
8-
"quotes": ["error", "double"],
9-
"excludedFiles": "dist/*.js",
6+
semi: ['error', 'always'],
7+
'no-undef': 0,
8+
quotes: ['error', 'single'],
9+
excludedFiles: 'dist/*.js'
1010
},
11-
"parserOptions": {
12-
"ecmaVersion": 6,
13-
"sourceType": "module",
14-
"ecmaFeatures": {
15-
"jsx": true,
16-
"experimentalObjectRestSpread": true
11+
parserOptions: {
12+
ecmaVersion: 6,
13+
sourceType: 'module',
14+
ecmaFeatures: {
15+
jsx: true,
16+
experimentalObjectRestSpread: true
1717
}
1818
}
19-
}
19+
};

CHANGELOG.MD

Lines changed: 21 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<a name="4.5.13"></a>
2-
## 4.5.13 (2018-05-09)
32

3+
## 4.5.13 (2018-05-09)
44

55
### Bug Fixes
66

@@ -10,151 +10,122 @@
1010
* typo in readme ([057dfda](https://github.com/wangyi7099/vuescroll/commit/057dfda))
1111
* typo in readme ([6955321](https://github.com/wangyi7099/vuescroll/commit/6955321))
1212

13-
1413
### Features
1514

1615
* **api:** add preventDefault option ([70e1886](https://github.com/wangyi7099/vuescroll/commit/70e1886))
1716

18-
1917
### Performance Improvements
2018

2119
* **touch:** optimize scroll experience ([53148ed](https://github.com/wangyi7099/vuescroll/commit/53148ed))
2220

23-
24-
2521
<a name="4.5.12"></a>
26-
## 4.5.12 (2018-05-04)
2722

23+
## 4.5.12 (2018-05-04)
2824

2925
### Bug Fixes
3026

3127
* error process when mode is 'slide' ([3eaa1ca](https://github.com/wangyi7099/vuescroll/commit/3eaa1ca))
3228
* typo ([ff76b39](https://github.com/wangyi7099/vuescroll/commit/ff76b39))
3329

34-
3530
### Features
3631

3732
* **api:** add zoomTo, zoomBy, getCurrentviewDom methods ([7769099](https://github.com/wangyi7099/vuescroll/commit/7769099))
3833
* **paging:** add getCurrentPage, goToPage api for paging in slide mode ([a3e2478](https://github.com/wangyi7099/vuescroll/commit/a3e2478))
3934

40-
41-
4235
<a name="4.5.10"></a>
43-
## 4.5.10 (2018-04-30)
44-
4536

37+
## 4.5.10 (2018-04-30)
4638

4739
<a name="4.5.9"></a>
48-
## 4.5.9 (2018-04-30)
4940

41+
## 4.5.9 (2018-04-30)
5042

5143
### Features
5244

5345
* add zooming options to enable zoom in slide mode or not ([ed0e4f3](https://github.com/wangyi7099/vuescroll/commit/ed0e4f3))
5446

55-
56-
5747
<a name="4.5.5"></a>
58-
## 4.5.5 (2018-04-28)
5948

49+
## 4.5.5 (2018-04-28)
6050

6151
### Performance Improvements
6252

6353
* set document select none when mouse is clicked ([5e24562](https://github.com/wangyi7099/vuescroll/commit/5e24562))
6454

65-
66-
6755
<a name="4.5.4"></a>
68-
## 4.5.4 (2018-04-27)
6956

57+
## 4.5.4 (2018-04-27)
7058

7159
### Bug Fixes
7260

7361
* resize event didn't trigger in FireFox ([dbb5908](https://github.com/wangyi7099/vuescroll/commit/dbb5908)), closes [#22](https://github.com/wangyi7099/vuescroll/issues/22)
7462
* typo ([d89ec35](https://github.com/wangyi7099/vuescroll/commit/d89ec35))
7563
* typo ([11da6a8](https://github.com/wangyi7099/vuescroll/commit/11da6a8))
7664

77-
78-
7965
<a name="4.5.2"></a>
80-
## 4.5.2 (2018-04-26)
81-
8266

67+
## 4.5.2 (2018-04-26)
8368

8469
<a name="4.5.1"></a>
85-
## 4.5.1 (2018-04-26)
86-
8770

71+
## 4.5.1 (2018-04-26)
8872

8973
<a name="4.5.0"></a>
90-
# 4.5.0 (2018-04-26)
9174

75+
# 4.5.0 (2018-04-26)
9276

9377
### Bug Fixes
9478

9579
* use internalscrollLeft in scrollTo api ([003be27](https://github.com/wangyi7099/vuescroll/commit/003be27))
9680

97-
9881
### Features
9982

10083
* add scrollby api ([8161055](https://github.com/wangyi7099/vuescroll/commit/8161055))
10184
* **core:** add pure-native mode that you can use native scrollbar in vuescroll ([8249b5d](https://github.com/wangyi7099/vuescroll/commit/8249b5d))
10285

103-
104-
10586
<a name="4.4.8"></a>
106-
## 4.4.8 (2018-04-21)
107-
10887

88+
## 4.4.8 (2018-04-21)
10989

11090
<a name="4.4.7"></a>
111-
## 4.4.7 (2018-04-21)
112-
11391

92+
## 4.4.7 (2018-04-21)
11493

11594
<a name="4.4.6"></a>
116-
## 4.4.6 (2018-04-21)
117-
11895

96+
## 4.4.6 (2018-04-21)
11997

12098
<a name="4.4.5"></a>
121-
## 4.4.5 (2018-04-21)
122-
12399

100+
## 4.4.5 (2018-04-21)
124101

125102
<a name="4.4.3"></a>
126-
## 4.4.3 (2018-04-20)
127-
128103

104+
## 4.4.3 (2018-04-20)
129105

130106
<a name="4.3.3"></a>
131-
## 4.3.3 (2018-04-20)
132-
133107

108+
## 4.3.3 (2018-04-20)
134109

135110
<a name="4.2.3"></a>
136-
## 4.2.3 (2018-04-19)
137-
138111

112+
## 4.2.3 (2018-04-19)
139113

140114
<a name="4.2.2"></a>
141-
## 4.2.2 (2018-04-17)
142-
143115

116+
## 4.2.2 (2018-04-17)
144117

145118
<a name="4.1.2"></a>
146-
## 4.1.2 (2018-04-17)
147119

120+
## 4.1.2 (2018-04-17)
148121

149122
### Bug Fixes
150123

151124
* record pos confilt ([6250c2b](https://github.com/wangyi7099/vuescroll/commit/6250c2b))
152125

153-
154-
155126
<a name="4.1.1"></a>
156-
## 4.1.1 (2018-04-17)
157127

128+
## 4.1.1 (2018-04-17)
158129

159130
### Bug Fixes
160131

@@ -169,7 +140,7 @@
169140
* error correct scrollPanel height ([2f9d70e](https://github.com/wangyi7099/vuescroll/commit/2f9d70e))
170141
* error transform style ([ccd620c](https://github.com/wangyi7099/vuescroll/commit/ccd620c))
171142
* hide default scrollbar ([83a3c48](https://github.com/wangyi7099/vuescroll/commit/83a3c48))
172-
* judge if vue._isDestroyed to nextTick ([b1f56a6](https://github.com/wangyi7099/vuescroll/commit/b1f56a6))
143+
* judge if vue.\_isDestroyed to nextTick ([b1f56a6](https://github.com/wangyi7099/vuescroll/commit/b1f56a6))
173144
* lot of bugs ([c6cb5fd](https://github.com/wangyi7099/vuescroll/commit/c6cb5fd))
174145
* options: scrollContent padding not work(fix:[#6](https://github.com/wangyi7099/vuescroll/issues/6)) ([b3d2c87](https://github.com/wangyi7099/vuescroll/commit/b3d2c87))
175146
* resize window scroll doesn't update ([9184bba](https://github.com/wangyi7099/vuescroll/commit/9184bba))
@@ -178,20 +149,16 @@
178149
* typo ([f1958d4](https://github.com/wangyi7099/vuescroll/commit/f1958d4))
179150
* typo of setting style of scrollPanel ([1cb3ecb](https://github.com/wangyi7099/vuescroll/commit/1cb3ecb))
180151

181-
182152
### Features
183153

184154
* add mode options ([72443a6](https://github.com/wangyi7099/vuescroll/commit/72443a6))
185155
* add native option ([699b068](https://github.com/wangyi7099/vuescroll/commit/699b068))
186156
* add pull refresh ([4191c9a](https://github.com/wangyi7099/vuescroll/commit/4191c9a))
187157
* add zoom support to non-native mode ([d439e4c](https://github.com/wangyi7099/vuescroll/commit/d439e4c))
188158
* merge code ([d0bfd38](https://github.com/wangyi7099/vuescroll/commit/d0bfd38))
189-
* rewrite scrollContent and scrollRail to functional components ([63f243d](https://github.com/wangyi7099/vuescroll/commit/63f243d))
159+
* rewrite scrollContent and scrollRail to functional components ([63f243d](https://github.com/wangyi7099/vuescroll/commit/63f243d))
190160
* sweak core code ([6f12e8d](https://github.com/wangyi7099/vuescroll/commit/6f12e8d))
191161
* sweak the core architecture ([9fe86f9](https://github.com/wangyi7099/vuescroll/commit/9fe86f9))
192162
* sync some feature between vuescroll and scroller ([5bae654](https://github.com/wangyi7099/vuescroll/commit/5bae654))
193163
* update ([a11cc79](https://github.com/wangyi7099/vuescroll/commit/a11cc79))
194164
* use jsx ([90f3139](https://github.com/wangyi7099/vuescroll/commit/90f3139))
195-
196-
197-

0 commit comments

Comments
 (0)