Download a1111-microsoftexcel-tagcomplete/javascript/__globals.js from toto10/extensions: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F7/a1111-microsoftexcel-tagcomplete/javascript/__globals.js
- Command line
-
hf download hf://toto10/extensions@refs/pr/7/a1111-microsoftexcel-tagcomplete/javascript/__globals.js
-
curl -L -o __globals.js https://huggingface.co/toto10/extensions/resolve/refs%2Fpr%2F7/a1111-microsoftexcel-tagcomplete/javascript/__globals.js
1.17 kB
| // Core components | |
| var CFG = null; | |
| var tagBasePath = ""; | |
| // Tag completion data loaded from files | |
| var allTags = []; | |
| var translations = new Map(); | |
| var extras = []; | |
| // Same for tag-likes | |
| var wildcardFiles = []; | |
| var wildcardExtFiles = []; | |
| var yamlWildcards = []; | |
| var embeddings = []; | |
| var hypernetworks = []; | |
| var loras = []; | |
| var lycos = []; | |
| // Selected model info for black/whitelisting | |
| var currentModelHash = ""; | |
| var currentModelName = ""; | |
| // Current results | |
| var results = []; | |
| var resultCount = 0; | |
| // Relevant for parsing | |
| var previousTags = []; | |
| var tagword = ""; | |
| var originalTagword = ""; | |
| let hideBlocked = false; | |
| // Tag selection for keyboard navigation | |
| var selectedTag = null; | |
| var oldSelectedTag = null; | |
| // UMI | |
| var umiPreviousTags = []; | |
| /// Extendability system: | |
| /// Provides "queues" for other files of the script (or really any js) | |
| /// to add functions to be called at certain points in the script. | |
| /// Similar to a callback system, but primitive. | |
| // Queues | |
| const QUEUE_AFTER_INSERT = []; | |
| const QUEUE_AFTER_SETUP = []; | |
| const QUEUE_FILE_LOAD = []; | |
| const QUEUE_AFTER_CONFIG_CHANGE = []; | |
| const QUEUE_SANITIZE = []; | |
| // List of parsers to try | |
| const PARSERS = []; |