Ver código fonte

Rename exec to execute.

Mateusz Samsel 6 anos atrás
pai
commit
93bd016c1f

+ 1 - 1
packages/ckeditor5-paste-from-office/src/normalizer.jsdoc

@@ -28,7 +28,7 @@
 /**
  * Executes the normalization of a given data.
  *
- * @method #exec
+ * @method #execute
  * @param {Object} data object obtained from
  * {@link module:clipboard/clipboard~Clipboard#event:inputTransformation inputTransformation event}.
  */

+ 1 - 1
packages/ckeditor5-paste-from-office/src/normalizer/googledocsnormalizer.js

@@ -26,7 +26,7 @@ export default class GoogleDocsNormalizer {
 	/**
 	 * @inheritDoc
 	 */
-	exec( data ) {
+	execute( data ) {
 		const writer = new UpcastWriter();
 
 		removeBoldTagWrapper( {

+ 1 - 1
packages/ckeditor5-paste-from-office/src/normalizer/mswordnormalizer.js

@@ -28,7 +28,7 @@ export default class MSWordNormalizer {
 	/**
 	 * @inheritDoc
 	 */
-	exec( data ) {
+	execute( data ) {
 		const html = data.dataTransfer.getData( 'text/html' );
 
 		data.content = normalizeWordInput( html, data.dataTransfer );