in public/scripts/utils.js [7:12]
function authCallback(resolve, auth) {
var apiExists = auth && typeof auth.api !== 'undefined';
var tokenExists = auth && typeof auth.token !== 'undefined';
resolve({ authorized: apiExists && tokenExists });
}