Easy to get started
- Load an mjs file, no build
- Create a class
- customElements.define
- Works with everything
Easy to do the right thing
| <!doctype html> | |
| <button>-</button> | |
| <script src="./node_modules/steal/steal.js" main></script> |
This gist shows two techniques for (simultaneously) accessing the DOM and the window from a Chrome extension
You can run arbitrary code in the page using chrome.devtools.inspectedWindow.eval( ... )
This solution is shown in the files below prefixed with 1-.
| <!doctype html> | |
| <script src="./node_modules/steal/steal.js"></script> |
| <!doctype html> | |
| <script src="./node_modules/steal/steal.js"></script> |
This tests the performance impact of "automount"ing automatically.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>Lazy Values</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| This is a set of codemods |
| npm uninstall -g donejs-cli | |
| cd path/to/donejs-cli | |
| npm link | |
| cd path/to/generator-donejs | |
| npm link | |
| DEBUG=* node --inspect --debug-brk /path/to/bin/donejs add app |