on(){
isNight = false;
body.removeClass("night");
core.cookie.removeCookie("night-mode", {});
},
night: function(){
isNight = true;
body.addClass("night");
core.cookie("night-mode", true, { expires: 3600 });
}
}
}();
if( typeof saveFont !
== "undefined" ){
font.set(saveFont * 1);
}
var isNight = !
!
core.cookie("night-mode");
if( isNight ){
font.night();
}
functioction(){
var type = $(this).data("role");
if( type == "inc" ){
font.increase();
}else if( type == "des" ) {
font.descrease();
}else if( type == "mode" ){
if( isNight ){
font.day();
}else{
font.night();
}
本章未完,请点击下一页继续阅读! 第11页 / 共22页