File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
components/wordpress_com/common Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default {
88 return typeof input === "number" ;
99 } ,
1010
11- isEmptySting ( input ) {
11+ isEmptyString ( input ) {
1212 if ( this . isString ( input ) ) {
1313 if ( input . trim ( ) === "" ) return true ;
1414 } ;
@@ -86,15 +86,15 @@ export default {
8686================================================================================================ */
8787 checkIfUrlValid ( input ) {
8888
89- // Warnin accumulator
89+ // Warning accumulator
9090 let warnings = [ ] ;
9191
9292 if ( ! this . isString ( input ) ) {
9393 warnings . push ( "URL is not a string" ) ;
9494
9595 } ;
9696
97- if ( this . isEmptySting ( input ) ) {
97+ if ( this . isEmptyString ( input ) ) {
9898 warnings . push ( "URL is empty string" ) ;
9999 return warnings ;
100100 } ;
You can’t perform that action at this time.
0 commit comments