From 05bf16d3eba568df1e9184fa4ce41e89b0728e18 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Tue, 27 Oct 2015 10:08:49 -0500 Subject: [PATCH] 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 --- lib/{ext.Cite.js => ext/Cite.js} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename lib/{ext.Cite.js => ext/Cite.js} (98%) diff --git a/lib/ext.Cite.js b/lib/ext/Cite.js similarity index 98% rename from lib/ext.Cite.js rename to lib/ext/Cite.js index 4377b4eac..2119d07a4 100644 --- a/lib/ext.Cite.js +++ b/lib/ext/Cite.js @@ -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