Skip to content

brettz9/asm.js-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asm.js-lint

asm.js lint plug-in for CodeMirror

#Installation

Except during development (for the sake of the test file), the plug-in does not install CodeMirror (nor put it within package.json's peerDependencies which would include CodeMirror in a subdirectory).

Since CodeMirror already has node_modules in its .gitignore, you can safely run the install script while in the CodeMirror directory.

cd <CodeMirror path>
npm install asm.js-lint

Then in your HTML, along with <codemirror>/addon/lint/lint.js make sure to add script tags for <asm.js-lint>/dist/asm-lint-helper.compiled.js and <asm.js-lint>/lib/asm-lint.js.

Note that if you install from the repo instead of npm, you will need to first install asm.js and then browserify:

cd <asm.js-lint directory>
browserify src/asm-lint-helper.js -o dist/asm-lint-helper.compiled.js

About

CodeMirror asm.js lint plug-in

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published