【Githubより】 コードリーディング

qiita.com

qiita.com

developer.mozilla.org

先頭のコメントアウト

AjaxZip3 = function(){};

// AjaxZip3 = function(){};

(console)
ajaxzip3-source.js:33 Uncaught ReferenceError: AjaxZip3 is not defined
    at ajaxzip3-source.js:33


(9)
test.html:26 Uncaught ReferenceError: AjaxZip3 is not defined
    at HTMLInputElement.onkeyup (test.html:26)

ajaxzip3-source.js:33とは?

AjaxZip3.VERSION = '0.51';

test.htmlの26行目とは?

 <input type="text" name="yubin51" size="10" maxlength="8" 
             onkeyup="AjaxZip3.zip2addr(this,'','region51','addr51');">

AjaxZip3 = '' に変更してみると?

Uncaught TypeError: AjaxZip3.zip2addr is not a function
    at HTMLInputElement.onkeyup (test.html:20)

ajaxzip3-source.js:232 GET file:///Users/hoge/Desktop/ajaxzip3.github.io-master/undefined/100.js 

net::ERR_FILE_NOT_FOUND


AjaxZip3.zipjsonpquery  @   ajaxzip3-source.js:232
AjaxZip3.zip2addr   @   ajaxzip3-source.js:103
onkeyup @   test.html:20