WebSite/Scripts/BootStrap/js/ace-extra.js
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
if (!('ace' in window)) {
window.ace = {
}
}
if (!('vars' in window.ace)) {
window.ace.vars = {
icon: ' ace-icon ',
'.icon': '.ace-icon'
}
}
ace.config = {
cookie_expiry: 604800,
storage_method: 2
};
ace.settings = {
is: function (b, a) {
return (ace.data.get('settings', b + '-' + a) == 1)
},
exists: function (b, a) {
return (ace.data.get('settings', b + '-' + a) !== null)
},
set: function (b, a) {
ace.data.set('settings', b + '-' + a, 1)
},
unset: function (b, a) {
ace.data.set('settings', b + '-' + a, -1)
},
remove: function (b, a) {
ace.data.remove('settings', b + '-' + a)
},
navbar_fixed: function (a, d, b) {
var c = document.getElementById('navbar');
if (!c) {
return false
}
a = a || false;
if (!a && b !== false) {
var e = null;
if (ace.settings.is('sidebar', 'fixed') || ((e = document.getElementById('sidebar')) && ace.hasClass(e, 'sidebar-fixed'))) {
ace.settings.sidebar_fixed(false)
}
}
if (a) {
if (!ace.hasClass(c, 'navbar-fixed-top')) {
ace.addClass(c, 'navbar-fixed-top')
}
if (d !== false) {
ace.settings.set('navbar', 'fixed')
}
} else {
ace.removeClass(c, 'navbar-fixed-top');
if (d !== false) {
ace.settings.unset('navbar', 'fixed')
}
}
document.getElementById('ace-settings-navbar').checked = a;
if (window.jQuery) {
jQuery(document).trigger('settings.ace', [
'navbar_fixed',
a
后面还有 357 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
