Authored by 陈轩

fix yas

... ... @@ -16,15 +16,14 @@ require('./login/login');
channel = channelMap[channel] || 1;
param = JSON.stringify({C_ID: channel});
if (!(yas && yas.sendCustomInfo)) {
return false;
}
// when js run
yas.sendCustomInfo({
op: 'YB_LOGIN_L',
param: param
});
setTimeout(function() {
yas && yas.sendCustomInfo({
op: 'YB_LOGIN_L',
param: param
});
}, 3000);
$(function() {
var $smsLogin = $('.sms-login');
... ...
... ... @@ -11,7 +11,9 @@ require('js/common');
tip = require('plugin/tip');
checkPoint = require('./smslogin/check-point');
checkPoint('YB_SET_PASSWORD_L');
setTimeout(function() {
checkPoint('YB_SET_PASSWORD_L');
}, 3000);
page = {
init: function() {
... ...
... ... @@ -12,11 +12,7 @@ var sendInfo = function(eventName) {
channel = channelMap[channel] || 1;
param = JSON.stringify({C_ID: channel});
if (!(yas && yas.sendCustomInfo)) {
return false;
}
yas.sendCustomInfo({
yas && yas.sendCustomInfo({
op: eventName,
param: param
}, true);
... ...