mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
move subparsers to makehtml dir
This commit is contained in:
parent
eec56fb1c0
commit
dacddc6a48
|
@ -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
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user