mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
Moved more files to typescript
This commit is contained in:
parent
b1139e1aff
commit
d1ffd5d02f
75 changed files with 2079 additions and 1929 deletions
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const AttributeMap = require('../../../static/js/AttributeMap');
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributeMap from "../../../static/js/AttributeMap";
|
||||
import AttributePool from '../../../static/js/AttributePool';
|
||||
const attributes = require('../../../static/js/attributes');
|
||||
|
||||
describe('AttributeMap', function () {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributePool from '../../../static/js/AttributePool'
|
||||
const attributes = require('../../../static/js/attributes');
|
||||
|
||||
describe('attributes', function () {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const Changeset = require('../../../static/js/Changeset');
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributePool from "../../../static/js/AttributePool";
|
||||
const {randomMultiline, randomTestChangeset} = require('../easysync-helper.js');
|
||||
|
||||
describe('easysync-compose', function () {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const Changeset = require('../../../static/js/Changeset');
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributePool from "../../../static/js/AttributePool";
|
||||
const {randomMultiline, randomTestChangeset} = require('../easysync-helper.js');
|
||||
|
||||
describe('easysync-follow', function () {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const Changeset = require('../../../static/js/Changeset');
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributePool from '../../../static/js/AttributePool'
|
||||
const {poolOrArray} = require('../easysync-helper.js');
|
||||
|
||||
describe('easysync-mutations', function () {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const Changeset = require('../../../static/js/Changeset');
|
||||
const AttributePool = require('../../../static/js/AttributePool');
|
||||
import AttributePool from '../../../static/js/AttributePool'
|
||||
const {randomMultiline, poolOrArray} = require('../easysync-helper.js');
|
||||
const {padutils} = require('../../../static/js/pad_utils');
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
const SkipList = require('ep_etherpad-lite/static/js/skiplist');
|
||||
import SkipList from "../../../static/js/skiplist";
|
||||
|
||||
describe('skiplist.js', function () {
|
||||
it('rejects null keys', async function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue