重点对系统启动时间进行监控并获得数据的反馈,以支持构建和启动性能的优化。
该产出同时可应用于DSP端。
/** | |
* ADM 2.0 | |
* Copyright 2014 Baidu Inc. All rights reserved. | |
* | |
* @ignore | |
* @file 地域地图控件 | |
* @author lixiang(lixiang05@baidu.com) | |
*/ | |
define( |
define(function (require) { | |
// 参考http://wiki.ecmascript.org/doku.php?id=harmony:private_name_objects | |
// 在不支持private names的现在,使用字符串来表示,日后能很方便地切换成private names | |
var names = { | |
handleSubmit: '_handleSubmit', | |
doValidate: '_doValidate' | |
}; | |
var exports = {}; | |
exports.search = function () { | |
var event = { | |
filterData: [] | |
}; | |
event = this.fire('search', event); | |
if (!event.preventDefault()) { | |
// 如果没有外部提供搜索条件,就自个儿玩 | |
if (this.searchBox) { | |
var defaultFilter = { | |
value: this.getChild('search-box').getValue() |
/** | |
* SSP Account | |
* Copyright 2013 Baidu Inc. All rights reserved. | |
* | |
* @ignore | |
* @file 二级帐号结构 | |
* @author otakustay | |
*/ | |
define( | |
function (require) { |
[General] | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114 | |
loglevel = notify | |
[Proxy] | |
Proxy = custom | |
[Rule] |
"requestSchema": { | |
"protocol": "http", | |
"args": { | |
"pageSize": { | |
"type": "number", | |
"description": "页码", | |
"requried": false, | |
"defaultValue": 1 | |
}, | |
"keyword": { |
/** | |
* ADM 2.0 | |
* Copyright 2013 Baidu Inc. All rights reserved. | |
* | |
* @file 常量枚举类 | |
* @author wangyaqiong(catkin2009@gmail.com) | |
* @date $DATE$ | |
*/ | |
define( | |
function () { |
import {Engine} form './Engine'; | |
import {tpl} from 'text!./tpl/dialog.tpl'; | |
let engine = new Engine('dialog'); | |
engine.compile(tpl); | |
export default class Dialog extends Control { | |
constructor(...args) { | |
super(...args); | |