Skip to content

Commit

Permalink
evnet 改为 event
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoda committed Sep 18, 2016
1 parent 021bc77 commit 29f4a30
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions dist/spa-apis.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* SPA v2.0.2
* SPA v2.0.3
* A webapp framework for routing control and view transitions
* Copyright 2016 zhaoda <http://zhaoda.net>
* Licensed under MIT
Expand Down Expand Up @@ -110,7 +110,7 @@
}

// 设置版本号,先留空,打包时会自动添加
$.spa.version = '2.0.2'
$.spa.version = '2.0.3'

/*
* 插入样式
Expand Down Expand Up @@ -1962,7 +1962,7 @@
*/

// 阻塞鼠标和手势操作
function preventEventHandle(evnet) {
function preventEventHandle(event) {
event.stopPropagation()
event.preventDefault()
}
Expand Down
4 changes: 2 additions & 2 deletions dist/spa-apis.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/spa.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* SPA v2.0.2
* SPA v2.0.3
* A webapp framework for routing control and view transitions
* Copyright 2016 zhaoda <http://zhaoda.net>
* Licensed under MIT
Expand Down Expand Up @@ -110,7 +110,7 @@
}

// 设置版本号,先留空,打包时会自动添加
$.spa.version = '2.0.2'
$.spa.version = '2.0.3'

/*
* 插入样式
Expand Down Expand Up @@ -1962,7 +1962,7 @@
*/

// 阻塞鼠标和手势操作
function preventEventHandle(evnet) {
function preventEventHandle(event) {
event.stopPropagation()
event.preventDefault()
}
Expand Down
4 changes: 2 additions & 2 deletions dist/spa.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/spa.js
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@
*/

// 阻塞鼠标和手势操作
function preventEventHandle(evnet) {
function preventEventHandle(event) {
event.stopPropagation()
event.preventDefault()
}
Expand Down

0 comments on commit 29f4a30

Please sign in to comment.