diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-18 16:16:49 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-18 16:39:33 -0700 |
commit | fb143fbc1705bb4d59b5d4ebbb5454866cf1b76c (patch) | |
tree | 1becd79cad3a3554197b2b66b5bdcd0b7b49952f /js/test.js | |
parent | 3bd95fb5113d5e805556a124a3a4e84c43882adb (diff) |
Use browserify to make js code more modular.
* Moved js library code to `js/lib`.
* `js/stmd.js` is now generated from these files using browserify.
* Factored out `html5-entities.js` and `from-code-point.js` from main
js parsing code (which is now `index.js`).
* Moved `js/markdown` to `js/bin`.
Diffstat (limited to 'js/test.js')
-rwxr-xr-x | js/test.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env node var fs = require('fs'); -var stmd = require('./stmd'); +var stmd = require('./lib/index.js'); var ansi = require('./ansi/ansi'); var cursor = ansi(process.stdout); |