From 9aa51574ad972283ed5f415683a6fb3748ceb2c8 Mon Sep 17 00:00:00 2001 From: Maciej Bukowski Date: Tue, 7 Aug 2018 16:53:31 +0200 Subject: [PATCH] Replaced `lib/lodash` imports with `lodash-es`. --- package.json | 3 ++- src/decouplededitor.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e8edb6..cb20989 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "@ckeditor/ckeditor5-engine": "^10.2.0", "@ckeditor/ckeditor5-theme-lark": "^11.0.0", "@ckeditor/ckeditor5-ui": "^11.0.0", - "@ckeditor/ckeditor5-utils": "^10.2.0" + "@ckeditor/ckeditor5-utils": "^10.2.0", + "lodash-es": "^4.17.10" }, "devDependencies": { "@ckeditor/ckeditor5-basic-styles": "^10.0.2", diff --git a/src/decouplededitor.js b/src/decouplededitor.js index 4b3a8b1..2fc4899 100644 --- a/src/decouplededitor.js +++ b/src/decouplededitor.js @@ -15,7 +15,7 @@ import DecoupledEditorUIView from './decouplededitoruiview'; import getDataFromElement from '@ckeditor/ckeditor5-utils/src/dom/getdatafromelement'; import setDataInElement from '@ckeditor/ckeditor5-utils/src/dom/setdatainelement'; import mix from '@ckeditor/ckeditor5-utils/src/mix'; -import isElement from '@ckeditor/ckeditor5-utils/src/lib/lodash/isElement'; +import { isElement } from 'lodash-es'; /** * The {@glink builds/guides/overview#decoupled-editor decoupled editor} implementation.