mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
cleanup
This commit is contained in:
parent
2af8948f68
commit
4515aa294d
5 changed files with 2 additions and 7 deletions
|
@ -4,7 +4,6 @@ var helper = require("./helper.js")
|
|||
var assertEqualStrings = helper.assertEqualStrings;
|
||||
var random = helper.random;
|
||||
var randomMultiline = helper.randomMultiline;
|
||||
var randomInlineString = helper.randomInlineString;
|
||||
var randomTestChangeset = helper.randomTestChangeset;
|
||||
|
||||
describe("Changeset.compose",function(){
|
||||
|
|
|
@ -5,7 +5,6 @@ var assertEqualStrings = helper.assertEqualStrings;
|
|||
var assertEqualArrays = helper.assertEqualArrays;
|
||||
var random = helper.random;
|
||||
var randomMultiline = helper.randomMultiline;
|
||||
var randomInlineString = helper.randomInlineString;
|
||||
var randomTestChangeset = helper.randomTestChangeset;
|
||||
|
||||
describe("follow",function(){
|
||||
|
|
|
@ -247,12 +247,12 @@ exports.randomTestChangeset = function (origText, rand, withAttribs) {
|
|||
outTextAssem.append(txt);
|
||||
appendMultilineOp('+', txt);
|
||||
} else if (o.skip) {
|
||||
var txt = textLeft.substring(0, o.skip);
|
||||
txt = textLeft.substring(0, o.skip);
|
||||
textLeft = textLeft.substring(o.skip);
|
||||
outTextAssem.append(txt);
|
||||
appendMultilineOp('=', txt);
|
||||
} else if (o.remove) {
|
||||
var txt = textLeft.substring(0, o.remove);
|
||||
txt = textLeft.substring(0, o.remove);
|
||||
textLeft = textLeft.substring(o.remove);
|
||||
appendMultilineOp('-', txt);
|
||||
}
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
var Changeset = require("ep_etherpad-lite/static/js/Changeset");
|
||||
var AttributePool = require("ep_etherpad-lite/static/js/AttributePool");
|
||||
var helper = require("./helper.js")
|
||||
var assertEqualArrays = helper.assertEqualArrays;
|
||||
var random = helper.random;
|
||||
var poolOrArray = helper.poolOrArray;
|
||||
var randomMultiline = helper.randomMultiline;
|
||||
var randomInlineString = helper.randomInlineString;
|
||||
var randomTestChangeset = helper.randomTestChangeset;
|
||||
|
||||
describe("inverseRandom",function(){
|
||||
|
|
|
@ -4,7 +4,6 @@ var assertEqualStrings = helper.assertEqualStrings;
|
|||
var assertEqualArrays = helper.assertEqualArrays;
|
||||
var random = helper.random;
|
||||
var randomMultiline = helper.randomMultiline;
|
||||
var randomInlineString = helper.randomInlineString;
|
||||
|
||||
describe("testSplitJoinAttributionLines",function(){
|
||||
it("testSplitJoinAttributionLines",function(done){
|
||||
|
|
Loading…
Reference in a new issue