PRO.UI/resources/js/main.js
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var SEARCH_URL = "/search/",
lockHistoryChange = false;
var makeTab = function (id, url, title) {
var win,
tab,
hostName,
exampleName,
node,
tabTip;
if (id === "-") {
id = Ext.id(undefined, "extnet");
lookup[url] = id;
}
tabTip = url.replace(/^\//g, "");
tabTip = tabTip.replace(/\/$/g, "");
tabTip = tabTip.replace(/\//g, " > ");
tabTip = tabTip.replace(/_/g, " ");
win = new Ext.Window({
id : "w" + id,
layout : "fit",
title : "Source Code",
iconCls : "#PageWhiteCode",
width : 925,
height : 650,
border : false,
maximizable : true,
constrain : true,
closeAction : "hide",
listeners : {
show : {
fn : function () {
var height = Ext.getBody().getViewSize().height;
if (this.getSize().height > height) {
this.setHeight(height - 20)
}
this.body.mask("Loading...", "x-mask-loading");
Ext.Ajax.request({
url : "ExampleLoader.ashx",
success : function (response) {
this.body.unmask();
eval(response.responseText);
},
failure : function (response) {
this.body.unmask();
Ext.Msg.alert("Failure", "The error during example loading:\n" + response.responseText);
},
params : {
id : id,
url : url,
wId : this.nsId
},
scope : this
});
},
后面还有 478 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。