mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
lint: ImportEtherpad.js
This commit is contained in:
parent
613c7d8545
commit
7352dc7571
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ exports.setPadRaw = (padId, r) => {
|
||||||
if (value.pool) {
|
if (value.pool) {
|
||||||
for (const attrib of Object.keys(value.pool.numToAttrib)) {
|
for (const attrib of Object.keys(value.pool.numToAttrib)) {
|
||||||
const attribName = value.pool.numToAttrib[attrib][0];
|
const attribName = value.pool.numToAttrib[attrib][0];
|
||||||
if(blockElems.indexOf(attribName) === -1) {
|
if (blockElems.indexOf(attribName) === -1) {
|
||||||
console.warn('Plugin missing: ' +
|
console.warn('Plugin missing: ' +
|
||||||
`You might want to install a plugin to support this node name: ${attribName}`);
|
`You might want to install a plugin to support this node name: ${attribName}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue