3 ms·
I just forked it and added a few things: * zero dependencies (except coffee-script.js of course) * REPL-style like the standard console * command h
by ricardobeat 15y ago
I just forked it and added a few things:
* zero dependencies (except coffee-script.js of course)
* REPL-style like the standard console
* command history (up/down keys)
* console capturing (pretty ugly as it is, the console API is not exposed)
* on-the-fly syntax checking
* fixed the icon :)
http://github.com/ricardobeat/CoffeeConsole http://github.com/ricardobeat/CoffeeConsole
I messed too much with it to make a pull request. Sorry.
- ricardobeat 15y agoDidn't you find stupid that `chrome.devtools.inspectedWindow.eval` doesn't return the error object?
- snookca 15y agoOf note, there's an experimental console API that you can use but it requires users to set a flag to use the extension and you wouldn't be able to add it to the chrome store (which I might do at some point).
- ricardobeat 15y agoI ventured into that, but having to set a flag is a deal breaker. Let's hope it becomes official soon.
- snookca 15y agobtw: I just had a chance to look at your implementation. It's definitely going in a different direction than I wanted to take it. I understand the desire to match the default console but I'd like to keep the more powerful editor (along with some other features I'm looking to add). Great work, though.