8
0
Pārlūkot izejas kodu

Fixed code style.

Maciej Bukowski 6 gadi atpakaļ
vecāks
revīzija
7e118ae88e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      scripts/docs/template-comment-loader.js

+ 2 - 2
scripts/docs/template-comment-loader.js

@@ -14,14 +14,14 @@
 module.exports = function templateCommentLoader( source, map ) {
 	source = source.replace( /\/\/ @if (!?[\w]+) \/\/(.+)/g, ( match, option, body ) => {
 		// this.query comes from the webpack loader config.
-		// Missing param in webpack loader config
+		// Missing param in webpack loader config.
 		if ( !( option in this.query ) ) {
 			return match;
 		}
 
 		const optionValue = this.query[ option ];
 
-		// Do nothing when the option is falsy
+		// Do nothing when the option is falsy.
 		if ( !optionValue ) {
 			return match;
 		}