move subparsers to makehtml dir

This commit is contained in:
Estevao Soares dos Santos 2017-12-05 00:59:20 +00:00
parent eec56fb1c0
commit dacddc6a48
40 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ module.exports = function (grunt) {
'src/showdown.js', 'src/showdown.js',
'src/helpers.js', 'src/helpers.js',
'src/converter.js', 'src/converter.js',
'src/subParsers/*.js', 'src/subParsers/makehtml/*.js',
'src/loader.js' 'src/loader.js'
], ],
dest: 'dist/<%= pkg.name %>.js' dest: 'dist/<%= pkg.name %>.js'

BIN
dist/showdown.js vendored

Binary file not shown.

BIN
dist/showdown.js.map vendored

Binary file not shown.

BIN
dist/showdown.min.js vendored

Binary file not shown.

Binary file not shown.

View File

@ -4,6 +4,7 @@
// load dependencies // load dependencies
if (typeof document === 'undefined' && typeof window === 'undefined') { if (typeof document === 'undefined' && typeof window === 'undefined') {
// JSDOM - acts as polyfill for window and document objects
var jsdom = require('jsdom').jsdom, var jsdom = require('jsdom').jsdom,
jsdomObj = jsdom('', {}), jsdomObj = jsdom('', {}),
window = jsdomObj.defaultView, // jshint ignore:line window = jsdomObj.defaultView, // jshint ignore:line