1- import baloon from "./lib/balloon" ;
1+ import balloon from "./lib/balloon" ;
22import replacer from "./lib/replacer" ;
33import faces from "./lib/faces" ;
44
@@ -195,7 +195,7 @@ export { default as YASUNA_20 } from '.cows/yasuna_20.cow';
195195export { default as YMD_UDON } from '.cows/ymd_udon.cow' ;
196196export { default as ZEN_NOH_MILK } from '.cows/zen-noh-milk.cow' ;
197197
198- function converToCliOptions ( browserOptions ) {
198+ function convertToCliOptions ( browserOptions ) {
199199 const cliOptions = {
200200 e : browserOptions . eyes || 'oo' ,
201201 T : browserOptions . tongue || ' ' ,
@@ -218,13 +218,13 @@ function doIt (options, sayAloud) {
218218 face . thoughts = sayAloud ? "\\" : "o" ;
219219
220220 const action = sayAloud ? "say" : "think" ;
221- return baloon [ action ] ( options . text || options . _ . join ( " " ) , options . n ? null : options . W ) + "\n" + replacer ( cow , face ) ;
221+ return balloon [ action ] ( options . text || options . _ . join ( " " ) , options . n ? null : options . W ) + "\n" + replacer ( cow , face ) ;
222222}
223223
224224export function say ( browserOptions ) {
225- return doIt ( converToCliOptions ( browserOptions ) , true ) ;
225+ return doIt ( convertToCliOptions ( browserOptions ) , true ) ;
226226}
227227
228228export function think ( browserOptions ) {
229- return doIt ( converToCliOptions ( browserOptions ) , false ) ;
229+ return doIt ( convertToCliOptions ( browserOptions ) , false ) ;
230230}
0 commit comments