Clean up code

This commit is contained in:
Paulo Gustavo Veiga 2021-12-02 22:31:19 -08:00
parent dc7000ac18
commit 8b2727bbb5
4 changed files with 4 additions and 3 deletions

View File

@ -8,8 +8,7 @@
"plugin:cypress/recommended"
],
"globals":{
"Class": "readonly",
"$": "readonly"
"Class": "readonly"
},
"rules": {
"no-underscore-dangle": "off",

View File

@ -15,6 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import $ from '@libraries/jquery-2.1.0';
import { $defined } from '@wisemapping/core-js';
import ElementClass from '@components/ElementClass';
import Toolkit from './Toolkit';

View File

@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import $ from '@libraries/jquery-2.1.0';
import { $assert, $defined } from '@wisemapping/core-js';
import EventUtils from '../utils/EventUtils';
import TransformUtil from '../utils/TransformUtils';

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
import { $defined } from '@wisemapping/core-js';
import $ from '@libraries/jquery-2.1.0';
import ElementPeer from './ElementPeer';
const TextPeer = new Class({