Comparing version 1.0.2 to 1.1.0
@@ -16,4 +16,4 @@ /* | ||
var ascii = ""; | ||
var aheui = ""; | ||
ascii = ""; | ||
aheui = ""; | ||
@@ -125,3 +125,3 @@ var hanbeone = false; //한 번에 출력 설정 | ||
if(insu == '2') { | ||
imeui = Math.floor(Math.imeuiom()*2); | ||
imeui = Math.floor(Math.random()*2); | ||
if (imeui == 0) return '박'; | ||
@@ -131,3 +131,3 @@ if (imeui == 1) return '반'; | ||
else if(insu == '3') { | ||
imeui = Math.floor(Math.imeuiom()*3); | ||
imeui = Math.floor(Math.random()*3); | ||
if (imeui == 0) return '받'; | ||
@@ -138,3 +138,3 @@ if (imeui == 1) return '밪'; | ||
else if(insu == '4') { | ||
imeui = Math.floor(Math.imeuiom()*8); | ||
imeui = Math.floor(Math.random()*8); | ||
if (imeui == 0) return '밤'; | ||
@@ -150,3 +150,3 @@ if (imeui == 1) return '밥'; | ||
else if(insu == '5') { | ||
imeui = Math.floor(Math.imeuiom()*3); | ||
imeui = Math.floor(Math.random()*3); | ||
if (imeui == 0) return '발'; | ||
@@ -160,3 +160,3 @@ if (imeui == 1) return '밙'; | ||
else if(insu == '7') { | ||
imeui = Math.floor(Math.imeuiom()*2); | ||
imeui = Math.floor(Math.random()*2); | ||
if (imeui == 0) return '밝'; | ||
@@ -169,3 +169,3 @@ if (imeui == 1) return '밠'; | ||
else if(insu == '9') { | ||
imeui = Math.floor(Math.imeuiom()*4); | ||
imeui = Math.floor(Math.random()*4); | ||
if (imeui == 0) return '밞'; | ||
@@ -183,9 +183,15 @@ if (imeui == 1) return '밟'; | ||
for(var j=0; j<pyo[insu].length; j++) { | ||
aheui.append( aheuiro(pyo[insu].charAt(j)) ); | ||
aheui += aheuiro(pyo[insu].charAt(j)); | ||
} | ||
geuljasu++; | ||
if(!hanbeone) aheui.append('맣'); | ||
if(!hanbeone) aheui += '맣'; | ||
} | ||
function chogihwa() { | ||
function chogihwa(ib_ascii) { | ||
if(typeof ib_ascii == 'string' || ib_ascii instanceof String) { | ||
ascii = ib_ascii; | ||
} | ||
else { | ||
ascii = JSON.stringify(ib_ascii); | ||
} | ||
aheui = ""; | ||
@@ -195,4 +201,4 @@ geuljasu = 0; | ||
function byeonhwan(ascii) { | ||
chogihwa(); | ||
function byeonhwan(ib_ascii) { | ||
chogihwa(ib_ascii); | ||
hanbeone = false; | ||
@@ -204,11 +210,11 @@ for(var i=0; i<ascii.length; i++) { | ||
for(var j=0; j<geuljasu; j++) { | ||
aheui.append('맣'); | ||
aheui += '맣'; | ||
} | ||
} | ||
aheui.append('하'); | ||
aheui += '희'; | ||
return aheui; | ||
} | ||
function hanbeone_chulryeok(ascii) { | ||
chogihwa(); | ||
function hanbeone_chulryeok(ib_ascii) { | ||
chogihwa(ib_ascii); | ||
hanbeone = true; | ||
@@ -220,6 +226,6 @@ for(var i=0; i<ascii.length; i++) { | ||
for(var j=0; j<geuljasu; j++) { | ||
aheui.append('맣'); | ||
aheui += '맣'; | ||
} | ||
} | ||
aheui.append('하'); | ||
aheui += '희'; | ||
return aheui; | ||
@@ -226,0 +232,0 @@ } |
@@ -15,3 +15,3 @@ /* | ||
get: function() { | ||
return String(actac.aheui(this)); | ||
return actac.aheui(this); | ||
} | ||
@@ -21,5 +21,5 @@ }); | ||
get: function() { | ||
return String(actac.hanbeone(this)); | ||
return actac.hanbeone(this); | ||
} | ||
}); | ||
})(this); |
@@ -1,6 +0,12 @@ | ||
----------------------------------------------------------------------------- | ||
"THE BEER-WARE LICENSE" (Revision 42): | ||
dolsup(Jiwon Choi)<1890mah@gmail.com> wrote this software. As long as you | ||
# "THE BEER-WARE LICENSE" (Revision 42): | ||
dolsup(Jiwon Choi)<<1890mah@gmail.com>> wrote this software. As long as you | ||
retain this notice you can do whatever you want with this stuff. If we meet | ||
some day, and you think this stuff is worth it, you can buy me a beer in return. | ||
----------------------------------------------------------------------------- | ||
# 비어웨어 라이센스 (개정 42) | ||
돌숲(최지원)<<1890mah@gmail.com>>이 이 소프트웨어를 작성했습니다. | ||
당신은 이 통지를 보유하는 한 이것으로 무엇이든 할 수 있습니다. | ||
이게 가치가 있다고 생각하면, 만나서 보답으로 제게 맥주를 사줄 수 있습니다. | ||
[비어웨어 라이센스](http://en.wikipedia.org/wiki/Beerware)는 [Poul-Henning Kamp](http://people.freebsd.org/~phk/)에 의해 처음 작성되었습니다. |
@@ -6,3 +6,3 @@ { | ||
"author": "dolsup <1890mah@gmail.com>", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"main": "./lib/index", | ||
@@ -9,0 +9,0 @@ "repository": { |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
9226
247
42
1
80