This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is a script that will load shortcuts into the top right corner of the screen | |
| // To use it you need to add this code on the js panel of the Arc Boost | |
| const loadShortcuts = () => { | |
| // Edit this to include your own shortcuts replacing {org} and {repo} | |
| const shortcuts = ["https://github.com/{org}/{repo}"]; | |
| const divContents = (shortcuts) => ` | |
| <div | |
| tabindex="0" | |
| aria-label="Shortcuts" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const exec = require('child_process').exec; | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| var pathPrefix = process.argv.slice(2)[0]; | |
| // find the styles css file | |
| const files = getAllFiles(`./${pathPrefix}/`, '.css'); | |
| let data = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2020-12-16T17:22:08.188Z","extensionVersion":"v3.4.3"} |