duxca.wmurlshortener.js
Advanced tools
Comparing version 1.4.9 to 1.4.10
@@ -93,6 +93,6 @@ (function(global) { | ||
} | ||
} else if(xhr["status"] === 403 && that["retryCount"] <= that["maximumRetryCount"]){ | ||
} else if(xhr["status"] === 403 && that["retryCount"] < that["maximumRetryCount"]){ | ||
that["retryCount"]++; | ||
var timeout = 3 * Math.pow(2, that["retryCount"]); | ||
console.info(xhr["status"]+": retrying "+timeout+"sec after... " + | ||
console.info(xhr["status"]+": retrying "+timeout+"ms after... " + | ||
that["retryCount"] + "/" + that["maximumRetryCount"]); | ||
@@ -99,0 +99,0 @@ setTimeout(retry, timeout); |
@@ -89,3 +89,14 @@ __history = [ | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 21 Oct 2014 11:41:00 GMT", | ||
"total": { | ||
"sloc": 126, | ||
"maintainability": 66.41492204371342 | ||
}, | ||
"average": { | ||
"sloc": 126, | ||
"maintainability": "66.41" | ||
} | ||
} | ||
] |
@@ -89,3 +89,14 @@ [ | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 21 Oct 2014 11:41:00 GMT", | ||
"total": { | ||
"sloc": 126, | ||
"maintainability": 66.41492204371342 | ||
}, | ||
"average": { | ||
"sloc": 126, | ||
"maintainability": "66.41" | ||
} | ||
} | ||
] |
{ | ||
"name": "duxca.wmurlshortener.js", | ||
"version": "1.4.9", | ||
"version": "1.4.10", | ||
"description": "URL Shortener using goo.gl", | ||
@@ -5,0 +5,0 @@ "url": "https://github.com/duxca/WMURLShortener.js", |
24321
523