update startup dependencies
This commit is contained in:
@@ -158,7 +158,6 @@
|
||||
return elem;
|
||||
}
|
||||
|
||||
var currentAnimation;
|
||||
var isVisible;
|
||||
|
||||
function onHeaderSearchChange(val) {
|
||||
@@ -199,7 +198,7 @@
|
||||
{ opacity: '0', offset: 0 },
|
||||
{ opacity: '1', offset: 1 }];
|
||||
var timing = { duration: 200, iterations: iterations, fill: 'both' };
|
||||
currentAnimation = elem.animate(keyframes, timing);
|
||||
elem.animate(keyframes, timing);
|
||||
}
|
||||
|
||||
function fadeOut(elem, iterations) {
|
||||
@@ -207,7 +206,9 @@
|
||||
{ opacity: '1', offset: 0 },
|
||||
{ opacity: '0', offset: 1 }];
|
||||
var timing = { duration: 600, iterations: iterations, fill: 'both' };
|
||||
currentAnimation = elem.animate(keyframes, timing);
|
||||
elem.animate(keyframes, timing).onfinish = function () {
|
||||
elem.parentNode.removeChild(elem);
|
||||
};
|
||||
}
|
||||
|
||||
function bindSearchEvents() {
|
||||
|
||||
@@ -2219,8 +2219,11 @@ var AppInfo = {};
|
||||
// Remove special characters
|
||||
var cleanDeviceName = device.model.replace(/[^\w\s]/gi, '');
|
||||
|
||||
var deviceId = window.MainActivity ? MainActivity.getLegacyDeviceId() : null;
|
||||
deviceId = deviceId || device.uuid;
|
||||
|
||||
resolve({
|
||||
deviceId: device.uuid,
|
||||
deviceId: deviceId,
|
||||
deviceName: cleanDeviceName,
|
||||
appName: name,
|
||||
appVersion: appVersion
|
||||
@@ -2277,7 +2280,7 @@ var AppInfo = {};
|
||||
if (deviceId) {
|
||||
onDeviceAdAcquired(deviceId);
|
||||
} else {
|
||||
require(['cryptojs-md5'], function () {
|
||||
require(['cryptojs-sha1'], function () {
|
||||
var keys = [];
|
||||
keys.push(navigator.userAgent);
|
||||
keys.push((navigator.cpuClass || ""));
|
||||
|
||||
Reference in New Issue
Block a user