mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Remove underscore from develop
This commit is contained in:
parent
143982f1a2
commit
695dd71921
@ -15,7 +15,6 @@
|
||||
},
|
||||
"plugins": ["only-warn"],
|
||||
"rules": {
|
||||
"no-underscore-dangle": "off",
|
||||
"no-plusplus": "off",
|
||||
"class-methods-use-this": "off",
|
||||
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["!cypress/**/*.js"]}]
|
||||
|
@ -34,7 +34,6 @@
|
||||
"@wisemapping/web2d": "^0.0.1",
|
||||
"jquery": "^3.6.0",
|
||||
"mootools": "1.4.5",
|
||||
"underscore": "^1.13.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.6",
|
||||
|
@ -37,7 +37,6 @@ module.exports = {
|
||||
exclude: [
|
||||
/node_modules/,
|
||||
path.resolve(__dirname, '../../libraries/mootools-core-1.4.5'),
|
||||
path.resolve(__dirname, '../../libraries/underscore-min'),
|
||||
/lib\/raphael/ig,
|
||||
],
|
||||
},
|
||||
|
@ -11,7 +11,6 @@
|
||||
"Class": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"no-underscore-dangle": "off",
|
||||
"no-restricted-syntax": "off",
|
||||
"no-plusplus": "off",
|
||||
"max-len": [1,250],
|
||||
|
@ -50,7 +50,6 @@ class TextPeer extends ElementPeer {
|
||||
if (text) {
|
||||
const lines = text.split('\n');
|
||||
const me = this;
|
||||
// FIXME: we could use underscorejs here
|
||||
lines.forEach((line) => {
|
||||
const tspan = window.document.createElementNS(ElementPeer.svgNamespace, 'tspan');
|
||||
tspan.setAttribute('dy', '1em');
|
||||
|
Loading…
Reference in New Issue
Block a user