Skip to content

Commit 3f3e8e3

Browse files
authored
fix some typos (#58)
1 parent 0331e4b commit 3f3e8e3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

browser.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import baloon from "./lib/balloon";
1+
import balloon from "./lib/balloon";
22
import replacer from "./lib/replacer";
33
import faces from "./lib/faces";
44

@@ -195,7 +195,7 @@ export { default as YASUNA_20 } from '.cows/yasuna_20.cow';
195195
export { default as YMD_UDON } from '.cows/ymd_udon.cow';
196196
export { 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

224224
export function say(browserOptions) {
225-
return doIt(converToCliOptions(browserOptions), true);
225+
return doIt(convertToCliOptions(browserOptions), true);
226226
}
227227

228228
export function think(browserOptions) {
229-
return doIt(converToCliOptions(browserOptions), false);
229+
return doIt(convertToCliOptions(browserOptions), false);
230230
}

cows/USA.cow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $the_cow = <<EOC;
1010
|* * * * * * * * * * OOOOOOOOOOOOOOOOOOOOOOOOO|
1111
| * * * * * * * * * :::::::::::::::::::::::::|
1212
|* * * * * * * * * * OOOOOOOOOOOOOOOOOOOOOOOOO|
13-
| * * * * * * * * * ::::::::::::::::::::;::::|
13+
| * * * * * * * * * :::::::::::::::::::::::::|
1414
|* * * * * * * * * * OOOOOOOOOOOOOOOOOOOOOOOOO|
1515
|:::::::::::::::::::::::::::::::::::::::::::::|
1616
|OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO|

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var baloon = require("./lib/balloon");
1+
var balloon = require("./lib/balloon");
22
var cows = require("./lib/cows");
33
var faces = require("./lib/faces");
44

@@ -27,5 +27,5 @@ function doIt (options, sayAloud) {
2727
face.thoughts = sayAloud ? "\\" : "o";
2828

2929
var action = sayAloud ? "say" : "think";
30-
return baloon[action](options.text || options._.join(" "), options.n ? null : options.W) + "\n" + cow(face);
30+
return balloon[action](options.text || options._.join(" "), options.n ? null : options.W) + "\n" + cow(face);
3131
}

0 commit comments

Comments
 (0)