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