如果我有这样的代码在一个名为custom.js:jQuery的 - 调用外部的js文件的功能
var kennel = function(){this._init();};
kennel.prototype = {
_init: function() {
this.setListeners();
},
setListeners: function(){
...
},
getCats: function(){
alert("Get cats");
}
};
如何调用getCats()
一些任意的HTML文件?