mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Remove guards surrounding export steps.
This commit is contained in:
parent
62e0a8f26c
commit
9253f9993d
35 changed files with 0 additions and 70 deletions
|
@ -391,6 +391,4 @@ function Ace2Editor()
|
|||
return editor;
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.Ace2Editor = Ace2Editor;
|
||||
}
|
||||
|
|
|
@ -147,7 +147,6 @@ function htmlPrettyEscape(str)
|
|||
}).replace(/\r?\n/g, '\\n');
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.isNodeText = isNodeText;
|
||||
exports.object = object;
|
||||
exports.extend = extend;
|
||||
|
@ -162,4 +161,3 @@ exports.binarySearch = binarySearch;
|
|||
exports.binarySearchInfinite = binarySearchInfinite;
|
||||
exports.htmlPrettyEscape = htmlPrettyEscape;
|
||||
exports.map = map;
|
||||
}
|
||||
|
|
|
@ -5888,6 +5888,4 @@ function OUTER(gscope)
|
|||
|
||||
OUTER(this);
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.OUTER = OUTER; // This is probably unimportant.
|
||||
}
|
||||
|
|
|
@ -765,6 +765,4 @@ function loadBroadcastJS()
|
|||
receiveAuthorData(clientVars.historicalAuthorData);
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.loadBroadcastJS = loadBroadcastJS;
|
||||
}
|
||||
|
|
|
@ -126,6 +126,4 @@ function loadBroadcastRevisionsJS()
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.loadBroadcastRevisionsJS = loadBroadcastRevisionsJS;
|
||||
}
|
||||
|
|
|
@ -497,6 +497,4 @@ function loadBroadcastSliderJS()
|
|||
})
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.loadBroadcastSliderJS = loadBroadcastSliderJS;
|
||||
}
|
||||
|
|
|
@ -210,6 +210,4 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
|
|||
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.makeChangesetTracker = makeChangesetTracker;
|
||||
}
|
||||
|
|
|
@ -176,6 +176,4 @@ var chat = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.chat = chat;
|
||||
}
|
||||
|
|
|
@ -725,7 +725,5 @@ function selectElementContents(elem)
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.getCollabClient = getCollabClient;
|
||||
exports.selectElementContents = selectElementContents;
|
||||
}
|
||||
|
|
|
@ -120,6 +120,4 @@ colorutils.blend = function(c1, c2, t)
|
|||
return [colorutils.scale(t, c1[0], c2[0]), colorutils.scale(t, c1[1], c2[1]), colorutils.scale(t, c1[2], c2[2])];
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.colorutils = colorutils;
|
||||
}
|
||||
|
|
|
@ -701,7 +701,5 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
|||
return cc;
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.sanitizeUnicode = sanitizeUnicode;
|
||||
exports.makeContentCollector = makeContentCollector;
|
||||
}
|
||||
|
|
|
@ -119,6 +119,4 @@ function makeCSSManager(emptyStylesheetTitle, top)
|
|||
};
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.makeCSSManager = makeCSSManager;
|
||||
}
|
||||
|
|
|
@ -115,6 +115,4 @@ function makeCSSManager(emptyStylesheetTitle)
|
|||
};
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.makeCSSManager = makeCSSManager;
|
||||
}
|
||||
|
|
|
@ -319,6 +319,4 @@ domline.processSpaces = function(s, doesWrap)
|
|||
return parts.join('');
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.domline = domline;
|
||||
}
|
||||
|
|
|
@ -318,6 +318,4 @@ domline.processSpaces = function(s, doesWrap)
|
|||
return parts.join('');
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.domline = domline;
|
||||
}
|
||||
|
|
|
@ -194,6 +194,4 @@ function makeResizableHPane(left, sep, right, minLeft, minRight, sepWidth, sepOf
|
|||
});
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.makeDraggable = makeDraggable;
|
||||
}
|
||||
|
|
|
@ -2509,7 +2509,5 @@ Changeset.followAttributes = function(att1, att2, pool)
|
|||
return buf.toString();
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.Changeset = Changeset;
|
||||
exports.AttribPool = AttribPool;
|
||||
}
|
||||
|
|
|
@ -2270,7 +2270,5 @@ Changeset.inverse = function(cs, lines, alines, pool)
|
|||
return Changeset.checkRep(builder.toString());
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.Changeset = Changeset;
|
||||
exports.AttribPool = AttribPool;
|
||||
}
|
||||
|
|
|
@ -362,6 +362,4 @@ linestylefilter.populateDomLine = function(textLine, aline, apool, domLineObj)
|
|||
func(text, '');
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.linestylefilter = linestylefilter;
|
||||
}
|
||||
|
|
|
@ -360,6 +360,4 @@ linestylefilter.populateDomLine = function(textLine, aline, apool, domLineObj)
|
|||
func(text, '');
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.linestylefilter = linestylefilter;
|
||||
}
|
||||
|
|
|
@ -967,7 +967,6 @@ var alertBar = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.settings = settings;
|
||||
exports.createCookie = createCookie;
|
||||
exports.readCookie = readCookie;
|
||||
|
@ -978,4 +977,3 @@ exports.savePassword = savePassword;
|
|||
exports.handshake = handshake;
|
||||
exports.pad = pad;
|
||||
exports.alertBar = alertBar;
|
||||
}
|
||||
|
|
|
@ -88,6 +88,4 @@ var padconnectionstatus = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padconnectionstatus = padconnectionstatus;
|
||||
}
|
||||
|
|
|
@ -130,6 +130,4 @@ var padcookie = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padcookie = padcookie;
|
||||
}
|
||||
|
|
|
@ -463,6 +463,4 @@ var paddocbar = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.paddocbar = paddocbar;
|
||||
}
|
||||
|
|
|
@ -235,6 +235,4 @@ var padeditbar = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padeditbar = padeditbar;
|
||||
}
|
||||
|
|
|
@ -159,6 +159,4 @@ var padeditor = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padeditor = padeditor;
|
||||
}
|
||||
|
|
|
@ -334,6 +334,4 @@ var padimpexp = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padimpexp = padimpexp;
|
||||
}
|
||||
|
|
|
@ -371,6 +371,4 @@ var padmodals = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padmodals = padmodals;
|
||||
}
|
||||
|
|
|
@ -523,6 +523,4 @@ var padsavedrevs = (function()
|
|||
return self;
|
||||
}());
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padsavedrevs = padsavedrevs;
|
||||
}
|
||||
|
|
|
@ -811,6 +811,4 @@ function showColorPicker()
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.paduserlist = paduserlist;
|
||||
}
|
||||
|
|
|
@ -489,6 +489,4 @@ window.onerror = function test (msg, url, linenumber)
|
|||
return false;
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.padutils = padutils;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,4 @@ plugins = {
|
|||
}
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.plugins = plugins;
|
||||
}
|
||||
|
|
|
@ -489,6 +489,4 @@ that is a string.
|
|||
return self;
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.newSkipList = newSkipList;
|
||||
}
|
||||
|
|
|
@ -332,6 +332,4 @@ var undoModule = (function()
|
|||
}; // apool is filled in by caller
|
||||
})();
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.undoModule = undoModule;
|
||||
}
|
||||
|
|
|
@ -385,6 +385,4 @@ function makeVirtualLineView(lineNode)
|
|||
|
||||
}
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.makeVirtualLineView = makeVirtualLineView;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue