diff --git a/browserifiable.js b/browserifiable.js index 1f2b7cc..6335611 100644 --- a/browserifiable.js +++ b/browserifiable.js @@ -1,6 +1,8 @@ // browserify -t coffeeify browserifiable.js > markdowntomla.js +window.markdowntomla = require('./markdowntomla.coffee'); window.md = require('markdown').markdown; -markdowntomla = require('./markdowntomla.coffee'); +window._ = require('underscore'); window.extractMetadata = markdowntomla.extractMetadata; -window.createMLADocument = markdowntomla.createMLADocument; \ No newline at end of file +window.createMLADocument = markdowntomla.createMLADocument; +window.blobStream = require('blob-stream'); \ No newline at end of file diff --git a/index.html b/index.html index 546c91f..1061825 100644 --- a/index.html +++ b/index.html @@ -7,23 +7,63 @@
+ + + + -