Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit fd9c12a

Browse files
committed
Swap clipboard for polyfill, removing dependency on node API
1 parent 127e038 commit fd9c12a

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

app/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<link rel="stylesheet" href="styles/main.css">
2525
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
2626
<script src="bower_components/fuse.js/dist/fuse.min.js"></script>
27+
<script src="scripts/clipboard-polyfill.js"></script>
2728
<link rel="import" href="elements/elements.html">
2829
</head>
2930

app/scripts/app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ limitations under the License.
1313
*/
1414

1515
// Setup Electron process integration
16-
const clipboard = require('electron').clipboard;
1716
const ipcRenderer = require('electron').ipcRenderer;
1817

1918

app/scripts/clipboard-polyfill.js

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)