Created
December 9, 2013 22:31
-
-
Save subbuss/7882182 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[subbu@earth tests] node debug parse --inputfile /tmp/foo --fetchConfig false | |
< debugger listening on port 5858 | |
connecting... ok | |
break in parse.js:7 | |
5 */ | |
6 | |
7 var ParserEnv = require('../lib/mediawiki.parser.environment.js').MWParserEnvironment, | |
8 ParsoidConfig = require( '../lib/mediawiki.ParsoidConfig.js' ).ParsoidConfig, | |
9 WikitextSerializer = require('../lib/mediawiki.WikitextSerializer.js').WikitextSerializer, | |
debug> c | |
break in parse.js:228 | |
226 } | |
227 | |
228 debugger; | |
229 | |
230 var parsoidConfig = new ParsoidConfig( null, { defaultWiki: prefix } ); | |
debug> c | |
< <body data-parsoid='{"dsr":[0,10,0,0]}'><p data-parsoid='{"stx":"html","dsr":[0,9,3,4]}'>hi</p> | |
< </body> | |
program terminated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment