Merge pull request #1918 from kirkouimet/master

Fixing an issue compiling on Windows and improving webview interopability with other JavaScript libraries
This commit is contained in:
Cheng Zhao 2015-06-10 12:48:45 +08:00
commit d12697c657
2 changed files with 3 additions and 2 deletions

View file

@ -173,7 +173,7 @@ class WebViewImpl
params =
instanceId: @viewInstanceId
userAgentOverride: @userAgentOverride
for attributeName, attribute of @attributes
for own attributeName, attribute of @attributes
params[attributeName] = attribute.getValue()
# When the WebView is not participating in layout (display:none)
# then getBoundingClientRect() would report a width and height of 0.