Skip to content

Commit

Permalink
docs: add injectBrowserAction comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Jan 7, 2025
1 parent 3c7051f commit a1deca3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/electron-chrome-extensions/src/browser-action.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { ipcRenderer, contextBridge, webFrame } from 'electron'

/**
* Injects `<browser-action>` custom element into the current webpage.
*/
export const injectBrowserAction = () => {
// Load node:events directly from Electron rather than bundling
const { EventEmitter } = require('node:events')
Expand Down

0 comments on commit a1deca3

Please sign in to comment.