]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't expose <webview> in guest
authorCheng Zhao <zcbenz@gmail.com>
Fri, 24 Oct 2014 11:18:58 +0000 (19:18 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 24 Oct 2014 11:18:58 +0000 (19:18 +0800)
atom/renderer/lib/init.coffee

index 9d3d8df6992f38a43ec265db2a7dbf3c42b3c333..b29c936000c57a11e75065e0fccefbbb10cd9eda 100644 (file)
@@ -62,4 +62,4 @@ else
   # Override default web functions.
   require path.join(__dirname, 'override')
   # Load webview tag implementation.
-  require path.join(__dirname, 'web-view')
+  require path.join(__dirname, 'web-view') unless isGuest