You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/09/26 04:25:29 UTC
[27/47] incubator-weex git commit: * [html5] fix lint.
* [html5] fix lint.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eb81e1ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eb81e1ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eb81e1ca
Branch: refs/heads/dev
Commit: eb81e1cacae448967b262906963a21e2dad089f0
Parents: 386a0c6
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Sep 8 14:11:03 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Sep 8 14:11:03 2017 +0800
----------------------------------------------------------------------
html5/render/vue/env/event-manager.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eb81e1ca/html5/render/vue/env/event-manager.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/env/event-manager.js b/html5/render/vue/env/event-manager.js
index 70166bc..a72f9b6 100644
--- a/html5/render/vue/env/event-manager.js
+++ b/html5/render/vue/env/event-manager.js
@@ -140,7 +140,8 @@ function _init (doc) {
}
else if (href) {
location.href = href
- } else if (process.env.NODE_ENV === 'development') {
+ }
+ else if (process.env.NODE_ENV === 'development') {
console.warn('[vue-render] If you want to use the A tag jump, set the href attribute')
}
}