2017-01-26 22:58:47 +03:00
|
|
|
const veryVeryVeryVeryVeryVeryVeryLong = doc.expandedStates[doc.expandedStates.length - 1];
|
2017-04-12 19:26:27 +03:00
|
|
|
const small = doc.expandedStates[doc.expandedStates.length - 1];
|
|
|
|
|
|
|
|
const promises = [
|
|
|
|
promise.resolve().then(console.log).catch(err => {
|
|
|
|
console.log(err)
|
|
|
|
return null
|
|
|
|
}),
|
|
|
|
redis.fetch(),
|
|
|
|
other.fetch(),
|
|
|
|
];
|
|
|
|
|
|
|
|
const promises = [
|
|
|
|
promise.resolve().veryLongFunctionCall().veryLongFunctionCall().then(console.log).catch(err => {
|
|
|
|
console.log(err)
|
|
|
|
return null
|
|
|
|
}),
|
|
|
|
redis.fetch(),
|
|
|
|
other.fetch(),
|
|
|
|
];
|
2017-10-27 19:05:40 +03:00
|
|
|
|
|
|
|
window.FooClient.setVars({
|
|
|
|
locale: getFooLocale({ page }),
|
|
|
|
authorizationToken: data.token
|
|
|
|
}).initVerify("foo_container");
|
|
|
|
|
|
|
|
window.something.FooClient.setVars({
|
|
|
|
locale: getFooLocale({ page }),
|
|
|
|
authorizationToken: data.token
|
|
|
|
}).initVerify("foo_container");
|
|
|
|
|
|
|
|
window.FooClient.something.setVars({
|
|
|
|
locale: getFooLocale({ page }),
|
|
|
|
authorizationToken: data.token
|
|
|
|
}).initVerify("foo_container");
|