mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 19:53:49 +01:00
Move jquery out of dependency
This commit is contained in:
parent
8b2727bbb5
commit
6f613c8f05
@ -1,22 +1,4 @@
|
||||
import '@libraries/mootools-core-1.4.5';
|
||||
import $ from '@libraries/jquery-2.1.0';
|
||||
|
||||
// Import SVG
|
||||
import elementPeer from '@svg/ElementPeer';
|
||||
import workspacePeer from '@svg/WorkspacePeer';
|
||||
import elipsePeer from '@svg/ElipsePeer';
|
||||
import linePeer from '@svg/LinePeer';
|
||||
import polyLinePeer from '@svg/PolyLinePeer';
|
||||
import curvedLinePeer from '@svg/CurvedLinePeer';
|
||||
import arrowPeer from '@svg/ArrowPeer';
|
||||
import groupPeer from '@svg/GroupPeer';
|
||||
import rectPeer from '@svg/RectPeer';
|
||||
import textPeer from '@svg/TextPeer';
|
||||
import fontPeer from '@svg/Font';
|
||||
import tahomaFont from '@svg/TahomaFont';
|
||||
import timesFont from '@svg/TimesFont';
|
||||
import arialFont from '@svg/ArialFont';
|
||||
import verdanaFont from '@svg/VerdanaFont';
|
||||
|
||||
// Utils
|
||||
import eventUtils from '@utils/EventUtils';
|
||||
@ -37,26 +19,7 @@ import font from '@components/Font';
|
||||
import point from '@components/Point';
|
||||
import image from '@components/Image';
|
||||
|
||||
global.$ = $;
|
||||
|
||||
export default {
|
||||
// SVG
|
||||
ElementPeer: elementPeer,
|
||||
WorkspacePeer: workspacePeer,
|
||||
ElipsePeer: elipsePeer,
|
||||
LinePeer: linePeer,
|
||||
PolyLinePeer: polyLinePeer,
|
||||
CurvedLinePeer: curvedLinePeer,
|
||||
ArrowPeer: arrowPeer,
|
||||
GroupPeer: groupPeer,
|
||||
RectPeer: rectPeer,
|
||||
TextPeer: textPeer,
|
||||
FontPeer: fontPeer,
|
||||
TahomaFont: tahomaFont,
|
||||
TimesFont: timesFont,
|
||||
ArialFont: arialFont,
|
||||
VerdanaFont: verdanaFont,
|
||||
|
||||
// Utils
|
||||
EventUtils: eventUtils,
|
||||
TransformUtils: transformUtils,
|
||||
|
@ -1,5 +1,8 @@
|
||||
import Grid from './utils';
|
||||
import web2d from '../../src/web2d';
|
||||
import $ from '@libraries/jquery-2.1.0';
|
||||
|
||||
global.Grid = Grid;
|
||||
global.web2d = web2d;
|
||||
global.$ = $;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user