|
|
@ -1099,6 +1099,7 @@ define([
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
var LIMIT_REFRESH_RATE = 30000; // milliseconds
|
|
|
|
var LIMIT_REFRESH_RATE = 30000; // milliseconds
|
|
|
|
common.createUsageBar = function (cb) {
|
|
|
|
common.createUsageBar = function (cb) {
|
|
|
|
|
|
|
|
if (!isLoggedIn()) { return cb("NOT_LOGGED_IN"); }
|
|
|
|
// getPinnedUsage updates common.account.usage, and other values
|
|
|
|
// getPinnedUsage updates common.account.usage, and other values
|
|
|
|
// so we can just use those and only check for errors
|
|
|
|
// so we can just use those and only check for errors
|
|
|
|
var $container = $('<span>', {'class':'limit-container'});
|
|
|
|
var $container = $('<span>', {'class':'limit-container'});
|
|
|
|