You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/28 08:45:58 UTC
[07/37] incubator-weex git commit: - [html5] remove hasOwnproperty
key on ws
- [html5] remove hasOwnproperty key on ws
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5d312028
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5d312028
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5d312028
Branch: refs/heads/0.15-dev
Commit: 5d3120288ed5bbca344401fae6d32d4a1eefa3bd
Parents: 5c86cf3
Author: erha19 <fa...@gmail.com>
Authored: Thu Jun 22 17:15:48 2017 +0800
Committer: erha19 <fa...@gmail.com>
Committed: Thu Jun 22 17:15:48 2017 +0800
----------------------------------------------------------------------
html5/render/vue/modules/websocket/websocket.js | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5d312028/html5/render/vue/modules/websocket/websocket.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/modules/websocket/websocket.js b/html5/render/vue/modules/websocket/websocket.js
index c5cfa26..f52aa12 100644
--- a/html5/render/vue/modules/websocket/websocket.js
+++ b/html5/render/vue/modules/websocket/websocket.js
@@ -26,9 +26,6 @@ export default (function () {
let instance = null
const registerListeners = ['onopen', 'onmessage', 'onerror', 'onclose']
const ws = {
- hasOwnProperty: function (e) {
- return true
- },
WebSocket: function (url, protocol) {
if (!url) {
return