Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #252 from ckeditor/t/251
Browse files Browse the repository at this point in the history
Other: Removed `lodash` library from this package. Closes #251.
  • Loading branch information
scofalik authored Aug 8, 2018
2 parents 98508b0 + a7efdd7 commit 637c9e3
Show file tree
Hide file tree
Showing 592 changed files with 10 additions and 20,245 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"ckeditor5-lib"
],
"dependencies": {
"ckeditor5": "^11.0.1"
"ckeditor5": "^11.0.1",
"lodash-es": "^4.17.10"
},
"devDependencies": {
"@ckeditor/ckeditor5-core": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @module utils/config
*/

import isPlainObject from './lib/lodash/isPlainObject';
import { isPlainObject } from 'lodash-es';

/**
* Handles a configuration dictionary.
Expand Down
2 changes: 1 addition & 1 deletion src/dom/createelement.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @module utils/dom/createelement
*/

import isString from '../lib/lodash/isString';
import isIterable from '../isiterable';
import { isString } from 'lodash-es';

/**
* Creates element with attributes and children.
Expand Down
2 changes: 1 addition & 1 deletion src/dom/emittermixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

import { default as EmitterMixin, _getEmitterListenedTo, _setEmitterId } from '../emittermixin';
import uid from '../uid';
import extend from '../lib/lodash/extend';
import isNode from './isnode';
import isWindow from './iswindow';
import { extend } from 'lodash-es';

/**
* Mixin that injects the DOM events API into its host. It provides the API
Expand Down
2 changes: 1 addition & 1 deletion src/dom/position.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import global from './global';
import Rect from './rect';
import getPositionedAncestor from './getpositionedancestor';
import getBorderWidths from './getborderwidths';
import isFunction from '../lib/lodash/isFunction';
import { isFunction } from 'lodash-es';

/**
* Calculates the `position: absolute` coordinates of a given element so it can be positioned with respect to the
Expand Down
2 changes: 1 addition & 1 deletion src/dom/rect.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

import isRange from './isrange';
import isWindow from './iswindow';
import isElement from '../lib/lodash/isElement';
import getBorderWidths from './getborderwidths';
import log from '../log';
import isText from './istext';
import { isElement } from 'lodash-es';

/**
* A helper class representing a `ClientRect` object, e.g. value returned by
Expand Down
7 changes: 0 additions & 7 deletions src/lib/lodash/_DataView.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/lib/lodash/_Hash.js

This file was deleted.

28 changes: 0 additions & 28 deletions src/lib/lodash/_LazyWrapper.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/lib/lodash/_ListCache.js

This file was deleted.

22 changes: 0 additions & 22 deletions src/lib/lodash/_LodashWrapper.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/lib/lodash/_Map.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/lib/lodash/_MapCache.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/lib/lodash/_Promise.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/lib/lodash/_Reflect.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/lib/lodash/_Set.js

This file was deleted.

27 changes: 0 additions & 27 deletions src/lib/lodash/_SetCache.js

This file was deleted.

26 changes: 0 additions & 26 deletions src/lib/lodash/_Stack.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/lib/lodash/_Symbol.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/lib/lodash/_Uint8Array.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/lib/lodash/_WeakMap.js

This file was deleted.

15 changes: 0 additions & 15 deletions src/lib/lodash/_addMapEntry.js

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/lodash/_addSetEntry.js

This file was deleted.

22 changes: 0 additions & 22 deletions src/lib/lodash/_apply.js

This file was deleted.

Loading

0 comments on commit 637c9e3

Please sign in to comment.