electron-findbar 0.6.5 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,7 +39,7 @@ All public methods are documented with JSDoc and can be referenced during import
39
39
  To import the Findbar class:
40
40
 
41
41
  ```js
42
- const { Findbar } = require('electron-findbar')
42
+ const Findbar = require('electron-findbar')
43
43
  ```
44
44
 
45
45
  ### Creating the Findbar Instance
@@ -137,7 +137,7 @@ Here is a quick example demonstrating how to use the `electron-findbar`:
137
137
 
138
138
  ```js
139
139
  const { app, BrowserWindow } = require('electron')
140
- const { Findbar } = require('electron-findbar')
140
+ const Findbar = require('electron-findbar')
141
141
 
142
142
  app.whenReady().then(() => {
143
143
  const window = new BrowserWindow()
package/index.js CHANGED
@@ -289,4 +289,4 @@ class Findbar {
289
289
  })
290
290
  }) (require('electron').ipcMain)
291
291
 
292
- module.exports = { Findbar }
292
+ module.exports = Findbar
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "electron-findbar",
3
- "version": "0.6.5",
3
+ "version": "1.0.1",
4
4
  "description": "Chrome-like findbar for your Electron app.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "sample": "electron test/sample.js",
8
- "test": "node test/test.js"
7
+ "sample": "electron test/sample.js"
9
8
  },
10
9
  "repository": {
11
10
  "type": "git",
package/test/sample.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const { BrowserWindow, app, Menu, MenuItem } = require('electron')
2
- const { Findbar } = require('../index')
2
+ const Findbar = require('../index')
3
3
 
4
4
  app.whenReady().then(() => {
5
5
  const window = setupWindow()
package/test/test.js DELETED
File without changes