Ver código fonte

Merge pull request #32 from ckeditor/t/31

Changed paths and docs to use ckeditor5-core package
Szymon Cofalik 9 anos atrás
pai
commit
97d94bffb5

+ 1 - 1
packages/ckeditor5-undo/src/basecommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Command from '../command/command.js';
+import Command from '../core/command/command.js';
 import transform from '../engine/model/delta/transform.js';
 
 /**

+ 2 - 2
packages/ckeditor5-undo/src/undo.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import UndoEngine from './undoengine.js';
 import Model from '../ui/model.js';
 import Button from '../ui/button/button.js';
@@ -115,7 +115,7 @@ import ButtonView from '../ui/button/buttonview.js';
  * simultaneously updating them. Then deltas are applied to the document and removed from history (fig. 5).
  *
  * @memberOf undo
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class Undo extends Feature {
 	/**

+ 2 - 2
packages/ckeditor5-undo/src/undoengine.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import Feature from '../feature.js';
+import Feature from '../core/feature.js';
 import UndoCommand from './undocommand.js';
 import RedoCommand from './redocommand.js';
 
@@ -14,7 +14,7 @@ import RedoCommand from './redocommand.js';
  * the {@link engine.model.Document#batch Batch API}.
  *
  * @memberOf undo
- * @extends ckeditor5.Feature
+ * @extends core.Feature
  */
 export default class UndoEngine extends Feature {
 	/**

+ 1 - 1
packages/ckeditor5-undo/tests/basecommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import BaseCommand from '/ckeditor5/undo/basecommand.js';
 
 let editor, doc, root, base;

+ 1 - 1
packages/ckeditor5-undo/tests/redocommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import Range from '/ckeditor5/engine/model/range.js';
 import Position from '/ckeditor5/engine/model/position.js';
 import UndoCommand from '/ckeditor5/undo/undocommand.js';

+ 2 - 2
packages/ckeditor5-undo/tests/undo.js

@@ -3,11 +3,11 @@
  * For licensing, see LICENSE.md.
  */
 
-import ClassicTestEditor from '/tests/ckeditor5/_utils/classictesteditor.js';
+import ClassicTestEditor from '/tests/core/_utils/classictesteditor.js';
 import Undo from '/ckeditor5/undo/undo.js';
 import UndoEngine from '/ckeditor5/undo/undoengine.js';
 import ButtonController from '/ckeditor5/ui/button/button.js';
-import testUtils from '/tests/ckeditor5/_utils/utils.js';
+import testUtils from '/tests/core/_utils/utils.js';
 import { keyCodes } from '/ckeditor5/utils/keyboard.js';
 
 testUtils.createSinonSandbox();

+ 1 - 1
packages/ckeditor5-undo/tests/undocommand.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import Range from '/ckeditor5/engine/model/range.js';
 import Position from '/ckeditor5/engine/model/position.js';
 import Text from '/ckeditor5/engine/model/text.js';

+ 1 - 1
packages/ckeditor5-undo/tests/undoengine-integration.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import Range from '/ckeditor5/engine/model/range.js';
 import Position from '/ckeditor5/engine/model/position.js';
 import UndoEngine from '/ckeditor5/undo/undoengine.js';

+ 1 - 1
packages/ckeditor5-undo/tests/undoengine.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ModelTestEditor from '/tests/ckeditor5/_utils/modeltesteditor.js';
+import ModelTestEditor from '/tests/core/_utils/modeltesteditor.js';
 import Position from '/ckeditor5/engine/model/position.js';
 import UndoEngine from '/ckeditor5/undo/undoengine.js';