aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-09 22:59:18 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-12-09 22:59:18 +0100
commit98a180b8830e9a671c31e7efdff5c51afb0a6861 (patch)
tree38fafc320764cfaaa6b1ad9137b614a5840167e6
parent3d705b9e70d4f9e7a55331402aca4393209a67c1 (diff)
Remove exports.version from index.js.
This can be obtained using require('commonmark-spec/package.json').version
-rw-r--r--index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.js b/index.js
index 9c6b739..c14d894 100644
--- a/index.js
+++ b/index.js
@@ -28,4 +28,3 @@ var extractSpecTests = function(data) {
exports.text = fs.readFileSync(path.join(__dirname, 'spec.txt'), 'utf8');
exports.tests = extractSpecTests(exports.text);
-exports.version = exports.text.match(/^version: *([0-9.]*)/m)[1];