diff options
author | kpdecker <kpdecker@gmail.com> | 2013-01-13 15:32:29 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-01-13 15:34:27 -0600 |
commit | 3cac2672d0069b95f7b93c9c4727392246cd8984 (patch) | |
tree | 0c3c9d85f2302ca79e1606a9ef5ace110a173cf8 /src | |
parent | 7a3641df5acc1362845ccadd57e29eb2965a0771 (diff) | |
download | handlebars.js-3cac2672d0069b95f7b93c9c4727392246cd8984.zip handlebars.js-3cac2672d0069b95f7b93c9c4727392246cd8984.tar.gz handlebars.js-3cac2672d0069b95f7b93c9c4727392246cd8984.tar.bz2 |
Use jsmodule for jison parser
Removes unnecessary commonjs code generated for the parser. This reduces
the size of the parse by about 700bytes and should resolve lookup issues
with browserify and other static analysis tools. See #220
Diffstat (limited to 'src')
-rw-r--r-- | src/parser-prefix.js | 1 | ||||
-rw-r--r-- | src/parser-suffix.js | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/parser-prefix.js b/src/parser-prefix.js new file mode 100644 index 0000000..42345d6 --- /dev/null +++ b/src/parser-prefix.js @@ -0,0 +1 @@ +// BEGIN(BROWSER) diff --git a/src/parser-suffix.js b/src/parser-suffix.js new file mode 100644 index 0000000..fc8df13 --- /dev/null +++ b/src/parser-suffix.js @@ -0,0 +1,4 @@ + +// END(BROWSER) + +module.exports = handlebars; |