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/03 13:43:45 UTC
[09/12] incubator-weex git commit: * [html5] fix test case for dom.js
* [html5] fix test case for dom.js
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/04a3944a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/04a3944a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/04a3944a
Branch: refs/heads/0.16-dev
Commit: 04a3944a121bdca750199f415af285f56029ff08
Parents: 3a12100
Author: erha19 <fa...@gmail.com>
Authored: Wed Aug 2 15:38:03 2017 +0800
Committer: erha19 <fa...@gmail.com>
Committed: Wed Aug 2 15:38:03 2017 +0800
----------------------------------------------------------------------
html5/test/render/vue/modules/dom.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/04a3944a/html5/test/render/vue/modules/dom.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/modules/dom.js b/html5/test/render/vue/modules/dom.js
index aa7da0f..5c8dbc5 100644
--- a/html5/test/render/vue/modules/dom.js
+++ b/html5/test/render/vue/modules/dom.js
@@ -53,7 +53,8 @@ describe('dom module', () => {
} = domModule
const node = document.createElement('div')
const vnode = {
- $el: node
+ $el: node,
+ $refs: {}
}
const rectKeys = ['width', 'height', 'top', 'bottom', 'left', 'right']
let message