-
Notifications
You must be signed in to change notification settings - Fork 3
/
y.js
25 lines (22 loc) · 839 Bytes
/
y.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function foo() {
var y = Math.atan2(a/b); // MISMATCHED_COUNT_OF_ARGS alarm
}
function aaaa() {
var pChangeMessageList = {};
var param = typeof pChangeMessageList == "Array" ? pChangeMessageList.join('|') : pChangeMessageList;
console.log(param);
(function updateZkConfigs(configs) {
var zks = this.getZkServerHosts();
var portValue = configs['zoo.cfg'] && Em.get(configs['zoo.cfg'], 'clientPort');
var zkPort = typeof portValue === 'udefined' ? '2181' : portValue;
var zksWithPort = this.concatZkNames(zks, zkPort);
this.setZKConfigs(configs, zksWithPort, zks);
})({});
}
function a2() {
if ($.browser.msie == true) {
var target = url + "userName" + userName; // 1)
target = url.replace(/\.|\?|\&|\/|\=|\:|\-|\s/gi,""); // 2)
return target;
}
}