ant/web/addons/ant.connect.browser/client.js

19 lines
494 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 虽然不是处女座,但还是有代码洁癖!
// ___ _ _ ___
// | . || \ ||_ _|
// | || | | |
// |_|_||_\_| |_|
//
;(function($, ANT){
var API = $.extend({}, ANT.CONNECT_API.apis, {
config: {
desc: '浏览器客户端API脚本无须进行任何设置(推荐使用Chrome)'
},
connect: function(yes, no, faild) {
yes();
},
})
ANT.CONNECT_API.reg('browser', API)
})(jQuery, ANT)