From fb143fbc1705bb4d59b5d4ebbb5454866cf1b76c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Oct 2014 16:16:49 -0700 Subject: 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`. --- js/bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/bench.js') diff --git a/js/bench.js b/js/bench.js index 46b6d7d..ea68161 100644 --- a/js/bench.js +++ b/js/bench.js @@ -1,7 +1,7 @@ var Benchmark = require('benchmark').Benchmark; var suite = new Benchmark.Suite; var fs = require('fs'); -var sm = require('./stmd'); +var sm = require('./lib/index.js'); // https://github.com/coreyti/showdown var showdown = require('../../showdown/src/showdown'); // https://github.com/chjj/marked -- cgit v1.2.3