You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/08/17 11:46:13 UTC

[2/5] incubator-weex git commit: [html5] !== lint

[html5] !== 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/c1ae868b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c1ae868b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c1ae868b

Branch: refs/heads/0.16-dev
Commit: c1ae868bd055de2f1f25515cf1e0e79a335fe10a
Parents: 594d830
Author: 行久 <yi...@alibaba-inc.com>
Authored: Fri Aug 11 14:33:30 2017 +0800
Committer: 行久 <yi...@alibaba-inc.com>
Committed: Fri Aug 11 14:33:30 2017 +0800

----------------------------------------------------------------------
 html5/render/browser/extend/api/storage.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c1ae868b/html5/render/browser/extend/api/storage.js
----------------------------------------------------------------------
diff --git a/html5/render/browser/extend/api/storage.js b/html5/render/browser/extend/api/storage.js
index 3ae5699..ae76525 100644
--- a/html5/render/browser/extend/api/storage.js
+++ b/html5/render/browser/extend/api/storage.js
@@ -41,7 +41,7 @@ const storage = {
       return
     }
     const sender = this.sender
-    if (!key || (!value && value != 0)) {
+    if (!key || (!value && value !== 0)) {
       sender.performCallback(callbackId, {
         result: 'failed',
         data: INVALID_PARAM