T115665: Reorg parsoid repo

* First pass moving around files into different directories.

* Renamed files to remove unnecessary prefixes or align the name
  closer to what the file contains.

* Added temporary soft links to bin/parse.js and bin/roundtrip-test.js
  in the tests/ directory since jenkins jobs seems to have hardcoded
  refs to those paths.

* Deleted:
  - a couple of stale scripts in tests/ that are no longer relevant.
  - a couple of state scripts in api/ that didn't look relevant.
  - swagger spec since it was incomplete, stale, and unmaintained.

Change-Id: I97c30467b190b417eec9e750238704330ae91137
This commit is contained in:
Subramanya Sastry 2015-10-27 10:08:49 -05:00
parent 381ceda257
commit 05bf16d3eb

View file

@ -3,12 +3,12 @@
* natively in Parsoid.
* ---------------------------------------------------------------------- */
'use strict';
require('./core-upgrade.js');
require('../../core-upgrade.js');
var Util = require('./mediawiki.Util.js').Util;
var DU = require('./mediawiki.DOMUtils.js').DOMUtils;
var Util = require('../utils/Util.js').Util;
var DU = require('../utils/DOMUtils.js').DOMUtils;
var coreutil = require('util');
var defines = require('./mediawiki.parser.defines.js');
var defines = require('../wt2html/parser.defines.js');
var entities = require('entities');
// define some constructor shortcuts