| ajax | Sends an AJAX request. |
| ajaxPromise | Sends an AJAX request and returns a promise. |
| createDiv | Creates a new <div> element. |
| createEl | Creates a new element. |
| createFragment | Creates a new document fragment. |
| createSpan | Creates a new <span> element. |
| createSvg | Creates a new svg element such as <svg>, <circle>, <rect>, etc. |
| fish | Finds the first element that matches the selector. |
| fishAll | Finds all elements that match the selector. |
| globalEnhance | Apply global DOM enhancements and polyfills used by Obsidian. |
| initVimMode | vim.js based on https://github.com/codemirror/CodeMirror/commit/793c9e65e09ec7fba3f4f5aaf366b3d36e1a709e (2021-12-04) Modified from https://github.com/nightwing/cm6-vim-mode-experiment/blob/master/src/vim.js 103a9b5 2021-12-03 CodeMirror, copyright (c) by Marijn Haverbeke and others Distributed under an MIT license: https://codemirror.net/5/LICENSE Supported keybindings: Too many to list. Refer to defaultKeymap below. Supported Ex commands: Refer to defaultExCommandMap below. Registers: unnamed, -, ., :, /, _, a-z, A-Z, 0-9. (Does not respect the special case for number registers when delete operator is made with these commands: %, (, ), , /, ?, n, N, \{, \}). TODO: Implement the remaining registers. Marks: a-z, A-Z, and 0-9. TODO: Implement the remaining special marks. They have more complex behavior. Events: vim-mode-change - raised on the editor anytime the current mode changes. Event object: \{mode: "visual", subMode: "linewise"\}. Code structure: 1. Default keymap. 2. Variable declarations and short basic helpers. 3. Instance (External API) implementation. 4. Internal state tracking objects (input state, counter) implementation and instantiation. 5. Key handler (the main command dispatcher) implementation. 6. Motion, operator, and action implementations. 7. Helper functions for the key handler, motions, operators, and actions. 8. Set up Vim to work as a keymap for CodeMirror. 9. Ex command implementations. |
| isBoolean | Checks if the given object is a boolean. |
| li | Minified helper to copy properties from source to target object. |
| mo | Minified helper to omit specified properties from an object. |
| nextFrame | Waits for the next frame. |
| openDatabase | Open or create a WebSQL database. |
| ready | Executes a function when the DOM is ready. |
| selectLanguageFileLocation | Select a language file location. |
| sleep | Sleeps for a given number of milliseconds. |
| St | Minified helper to merge source properties into target object. |
| Tl | Minified helper to set a property on an object. |