Skip to content

Commit 5aa689b

Browse files
committed
docs(bom/window): fixed #277
1 parent 56a5093 commit 5aa689b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bom/window.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ var start = null;
579579
function step(timestamp) {
580580
if (!start) start = timestamp;
581581
var progress = timestamp - start;
582-
// 元素不断向左移,最大不超过200像素
582+
// 元素不断向右移,最大不超过200像素
583583
element.style.left = Math.min(progress / 10, 200) + 'px';
584584
// 如果距离第一次执行不超过 2000 毫秒,
585585
// 就继续执行动画

0 commit comments

Comments
 (0)