Move "nodeintegration" and "plugins" to web-view-attributes

This commit is contained in:
Cheng Zhao 2014-12-09 14:51:35 -08:00
parent 68381e1b76
commit 9d23cce2b6
3 changed files with 3 additions and 3 deletions

View file

@ -180,8 +180,6 @@ class WebViewImpl
params =
instanceId: @viewInstanceId
userAgentOverride: @userAgentOverride
nodeIntegration: @webviewNode.hasAttribute webViewConstants.ATTRIBUTE_NODEINTEGRATION
plugins: @webviewNode.hasAttribute webViewConstants.ATTRIBUTE_PLUGINS
for attributeName, attribute of @attributes
params[attributeName] = attribute.getValue()
if @webviewNode.hasAttribute webViewConstants.ATTRIBUTE_PRELOAD