From c73e34fb9e62282ced5029f4e807374771a613b7 Mon Sep 17 00:00:00 2001 From: Vlad Hashimoto Date: Wed, 16 Oct 2019 18:17:09 +0300 Subject: [PATCH] docs: remove class names from fiddle examples (#20596) * docs: remove original class names in customize menus example * docs: remove original class names in shortcuts example * lint: run standard --- docs/fiddles/menus/customize-menus/index.html | 28 +++++++++---------- docs/fiddles/menus/shortcuts/index.html | 26 ++++++++--------- docs/fiddles/screen/fit-screen/main.js | 2 +- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/fiddles/menus/customize-menus/index.html b/docs/fiddles/menus/customize-menus/index.html index f2a8494c0e6..07b3069796c 100644 --- a/docs/fiddles/menus/customize-menus/index.html +++ b/docs/fiddles/menus/customize-menus/index.html @@ -6,7 +6,7 @@ -
+

Customize Menus

@@ -22,7 +22,7 @@

Open the full API documentationfull API documentation(opens in new window) @@ -30,10 +30,10 @@

-
+

Create an application menu

-
-
+
+

The Menu and MenuItem modules allow you to customize your application menu. If you don't set any menu, Electron @@ -45,7 +45,7 @@ 'App Menu Demo', you'll see an information box displayed.

-
+

ProTip

Know operating system menu differences.

@@ -63,7 +63,7 @@

  • macOSmacOS(opens in new window) @@ -71,7 +71,7 @@
  • WindowsWindows(opens in new window) @@ -79,7 +79,7 @@
  • LinuxLinux(opens in new window) @@ -90,12 +90,12 @@
  • -
    +

    Create a context menu

    -
    -
    -
    - +
    +
    +
    +

    A context, or right-click, menu can be created with the diff --git a/docs/fiddles/menus/shortcuts/index.html b/docs/fiddles/menus/shortcuts/index.html index d67b1d6f76e..98787c8f5b8 100644 --- a/docs/fiddles/menus/shortcuts/index.html +++ b/docs/fiddles/menus/shortcuts/index.html @@ -21,20 +21,20 @@

    Open the full documentation for the - Menu, - Accelerator, + Menu, + Accelerator, and - globalShortcut + globalShortcut APIs in your browser.

    -
    -
    -
    +
    +
    +

    - To try this demo, press CommandOrControl+Alt+K on your + To try this demo, press CommandOrControl+Alt+K on your keyboard.

    @@ -44,7 +44,7 @@ `ready` event is emitted.

    -
    +

    ProTip

    Avoid overriding system-wide keyboard shortcuts.

    @@ -55,19 +55,19 @@

    -
    +
    - \ No newline at end of file + diff --git a/docs/fiddles/screen/fit-screen/main.js b/docs/fiddles/screen/fit-screen/main.js index 2320249cc50..2577553e954 100644 --- a/docs/fiddles/screen/fit-screen/main.js +++ b/docs/fiddles/screen/fit-screen/main.js @@ -17,4 +17,4 @@ app.on('ready', () => { mainWindow = new BrowserWindow({ width, height }) mainWindow.loadURL('https://electronjs.org') -}) \ No newline at end of file +})