;(function(window) {
'use strict';
var M_debug = {},
FILE_NAME = 'debug.js',
$ = window.jQuery || window.$ || null,
_this = M_debug;
window.M_debug = window.M_debug || M_debug;
window.DEBUG = Fishingtree.console;
DEBUG.debug( false );
DEBUG.debugParam( 'debug' );
DEBUG.log( '디버깅을 위한 DEBUG 정의 > 운영시 false로 설정' );
M_debug.isMobile = function() {
return {
Android : function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry : function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS : function() {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera : function() {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows : function() {
return navigator.userAgent.match(/IEMobile/i);
},
any : function() {
return this.Android() || this.BlackBerry() || this.iOS() || this.Opera() || this.Windows();
}
}
};
M_debug.isMobile = M_debug.isMobile();
}(window));