From 091c6fff5d07f36a2c4b57aae7801fbad43bf1c2 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Wed, 14 Jun 2017 16:14:55 +0200 Subject: [PATCH 1/2] Other: Renamed the ClassicEditor file to "classiceditor.js" to match the naming convention. --- src/{classic.js => classiceditor.js} | 0 tests/{classic.js => classiceditor.js} | 2 +- tests/manual/classic.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{classic.js => classiceditor.js} (100%) rename tests/{classic.js => classiceditor.js} (99%) diff --git a/src/classic.js b/src/classiceditor.js similarity index 100% rename from src/classic.js rename to src/classiceditor.js diff --git a/tests/classic.js b/tests/classiceditor.js similarity index 99% rename from tests/classic.js rename to tests/classiceditor.js index 9ce35e8..ec21e9c 100644 --- a/tests/classic.js +++ b/tests/classiceditor.js @@ -10,7 +10,7 @@ import ClassicEditorUIView from '../src/classiceditoruiview'; import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor'; -import ClassicEditor from '../src/classic'; +import ClassicEditor from '../src/classiceditor'; import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph'; import Bold from '@ckeditor/ckeditor5-basic-styles/src/bold'; diff --git a/tests/manual/classic.js b/tests/manual/classic.js index 232a6a4..c8e723c 100644 --- a/tests/manual/classic.js +++ b/tests/manual/classic.js @@ -5,7 +5,7 @@ /* globals console:false, document, window */ -import ClassicEditor from '../../src/classic'; +import ClassicEditor from '../../src/classiceditor'; import Enter from '@ckeditor/ckeditor5-enter/src/enter'; import Typing from '@ckeditor/ckeditor5-typing/src/typing'; import Heading from '@ckeditor/ckeditor5-heading/src/heading'; From 78afb44c6a4f94341225f86a1f183f8397b72174 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 19 Jun 2017 12:54:57 +0200 Subject: [PATCH 2/2] Docs: Fixed @links broken in the refactoring. --- src/classiceditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classiceditor.js b/src/classiceditor.js index 4c6aacb..cb362b2 100644 --- a/src/classiceditor.js +++ b/src/classiceditor.js @@ -4,7 +4,7 @@ */ /** - * @module editor-classic/classic + * @module editor-classic/classiceditor */ import StandardEditor from '@ckeditor/ckeditor5-core/src/editor/standardeditor'; @@ -74,8 +74,8 @@ export default class ClassicEditor extends StandardEditor { * console.error( err.stack ); * } ); * - * @param {HTMLElement} element See {@link module:editor-classic/classic~ClassicEditor#constructor}'s parameters. - * @param {Object} config See {@link module:editor-classic/classic~ClassicEditor#constructor}'s parameters. + * @param {HTMLElement} element See {@link module:editor-classic/classiceditor~ClassicEditor#constructor}'s parameters. + * @param {Object} config See {@link module:editor-classic/classiceditor~ClassicEditor#constructor}'s parameters. * @returns {Promise} A promise resolved once the editor is ready. * @returns {module:core/editor/standardeditor~StandardEditor} return.editor The editor instance. */