Procházet zdrojové kódy

Merge branch 'master' into t/105

Aleksander Nowodzinski před 9 roky
rodič
revize
fc142b3698

+ 3 - 4
packages/ckeditor5-utils/.travis.yml

@@ -12,7 +12,6 @@ node_js:
 cache:
 cache:
   - node_modules
   - node_modules
 before_install:
 before_install:
-  - export CHROME_BIN=chromium-browser
   - export DISPLAY=:99.0
   - export DISPLAY=:99.0
   - sh -e /etc/init.d/xvfb start
   - sh -e /etc/init.d/xvfb start
 install:
 install:
@@ -20,7 +19,7 @@ install:
   - npm install @ckeditor/ckeditor5-dev-tests
   - npm install @ckeditor/ckeditor5-dev-tests
   - npm install codeclimate-test-reporter
   - npm install codeclimate-test-reporter
 script:
 script:
-  - node_modules/.bin/ckeditor5-dev-tests --coverage --ignore-duplicates
+  - node_modules/.bin/ckeditor5-dev-tests-travis
 after_success:
 after_success:
-  - sed -i.backup 's/build\/\.automated-tests\/ckeditor5\/[^\/]*/src/g' build/.automated-tests/coverage/lcov.info
-  - node_modules/.bin/codeclimate-test-reporter < .build/coverage/lcov.info
+  - node_modules/.bin/codeclimate-test-reporter < build/.automated-tests/coverage/lcov.info
+

+ 1 - 1
packages/ckeditor5-utils/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "ckeditor5-utils",
   "name": "ckeditor5-utils",
-  "version": "0.4.0",
+  "version": "0.5.0",
   "description": "CKEditor 5 Utils",
   "description": "CKEditor 5 Utils",
   "keywords": [
   "keywords": [
     "CKEditor"
     "CKEditor"

+ 1 - 1
packages/ckeditor5-utils/src/focustracker.js

@@ -17,7 +17,7 @@ import mix from './mix.js';
 /**
 /**
  * Allows observing a group of `HTMLElement`s whether at least one of them is focused.
  * Allows observing a group of `HTMLElement`s whether at least one of them is focused.
  *
  *
- * Used by the {@link module:core/editor~Editor} in order to track whether the focus is still within the application,
+ * Used by the {@link module:core/editor/editor~Editor} in order to track whether the focus is still within the application,
  * or were used outside of its UI.
  * or were used outside of its UI.
  *
  *
  * **Note** `focus` and `blur` listeners use event capturing, so it is only needed to register wrapper `HTMLElement`
  * **Note** `focus` and `blur` listeners use event capturing, so it is only needed to register wrapper `HTMLElement`

+ 2 - 2
packages/ckeditor5-utils/src/locale.js

@@ -12,7 +12,7 @@
  */
  */
 export default class Locale {
 export default class Locale {
 	/**
 	/**
-	 * Creates a new instance of the Locale class. {@link ~Locale}
+	 * Creates a new instance of the Locale class.
 	 *
 	 *
 	 * @param {String} [lang='en'] The language code in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format.
 	 * @param {String} [lang='en'] The language code in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format.
 	 */
 	 */
@@ -26,7 +26,7 @@ export default class Locale {
 		this.lang = lang || 'en';
 		this.lang = lang || 'en';
 
 
 		/**
 		/**
-		 * Translates the given string to the {@link #lang}. This method is also availble in {@link module:core/editor~Editor#t} and
+		 * Translates the given string to the {@link #lang}. This method is also availble in {@link module:core/editor/editor~Editor#t} and
 		 * {@link module:ui/view~View#t}.
 		 * {@link module:ui/view~View#t}.
 		 *
 		 *
 		 * The strings may contain placeholders (`%<index>`) for values which are passed as the second argument.
 		 * The strings may contain placeholders (`%<index>`) for values which are passed as the second argument.

+ 1 - 1
packages/ckeditor5-utils/src/observablemixin.js

@@ -168,7 +168,7 @@ const ObservableMixin = {
 		 * @typedef BindChain
 		 * @typedef BindChain
 		 * @type Object
 		 * @type Object
 		 * @property {Function} to See {@link ~ObservableMixin#_bindTo}.
 		 * @property {Function} to See {@link ~ObservableMixin#_bindTo}.
-		 * @property {Observable} _observable The observable which initializes the binding.
+		 * @property {module:utils/observablemixin~Observable} _observable The observable which initializes the binding.
 		 * @property {Array} _bindAttrs Array of `_observable` attributes to be bound.
 		 * @property {Array} _bindAttrs Array of `_observable` attributes to be bound.
 		 * @property {Array} _to Array of `to()` observable–attributes (`{ observable: toObservable, attrs: ...toAttrs }`).
 		 * @property {Array} _to Array of `to()` observable–attributes (`{ observable: toObservable, attrs: ...toAttrs }`).
 		 * @property {Map} _bindings Stores bindings to be kept in
 		 * @property {Map} _bindings Stores bindings to be kept in

+ 0 - 4
packages/ckeditor5-utils/tests/manual/focustracker.md

@@ -1,7 +1,3 @@
-
-@bender-ui: collapsed
-@bender-tags: focustracker
-
 ## Focus Tracker
 ## Focus Tracker
 
 
 1. Set focus to first tracked input,
 1. Set focus to first tracked input,