codemirror-iced-coffee-script
v1.0.0
Published
IcedCoffeeScript mode for CodeMirror
Downloads
8
Maintainers
Readme
codemirror-iced-coffee-script
IcedCoffeeScript mode for CodeMirror
Installation
npm install --save-dev codemirror-iced-coffee-script
Usage
codemirror-iced-coffee-script expects codemirror to be available on the window object or it will attempt to require("codemirror")
.
codemirror-iced-coffee-script is also designed to be used with require()
for easy usage with Browserify.
CodeMirror = require "codemirror"
IcedMirror = require "codemirror-iced-coffee-script"
...
codemirror = CodeMirror.fromTextArea ($ "placeholder")[0], {
mode: "icedcoffeescript"
}
License
MIT. (C) 2016 Double Rebel