summaryrefslogtreecommitdiff
path: root/js/test.js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-18 16:16:49 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-18 16:31:59 -0700
commit3b54fe244535a791a8f8d8bf6d367a5ebb2d47b6 (patch)
tree2f7dddf7abaa8213b36d5f5111b67a72bd1eabf7 /js/test.js
parentf9e91b6d2d0837a331ce0c60609997b436e7f224 (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-xjs/test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/test.js b/js/test.js
index 19c0c92..697d6fe 100755
--- a/js/test.js
+++ b/js/test.js
@@ -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);