]> khamidou — GitHub mirrors - electron.git/commitdiff
doc: fix typo in pepper flash document
authorMagica <magicae@users.noreply.github.com>
Wed, 20 May 2015 10:04:51 +0000 (18:04 +0800)
committerMagica <magicae@users.noreply.github.com>
Wed, 20 May 2015 10:04:51 +0000 (18:04 +0800)
Add brackets around `plugins: true`

docs/tutorial/using-pepper-flash-plugin.md

index 7a542e0003fb72e63e2d5cc2b35d20bab0594bb7..bbb37862da44af9599f1f22341c30ce0a96ab5fb 100644 (file)
@@ -40,8 +40,9 @@ app.on('ready', function() {
   mainWindow = new BrowserWindow({
     'width': 800,
     'height': 600,
-    'web-preferences':
+    'web-preferences': {
       'plugins': true
+    }
   });
   mainWindow.loadUrl('file://' + __dirname + '/index.html');
   // Something else