aboutsummaryrefslogtreecommitdiffstats
path: root/src/Browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Browser.js')
-rw-r--r--src/Browser.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Browser.js b/src/Browser.js
index 77d1c684..e45c7042 100644
--- a/src/Browser.js
+++ b/src/Browser.js
@@ -3,7 +3,7 @@
//////////////////////////////
// Browser
//////////////////////////////
-var XHR = window.XMLHttpRequest || function () {
+var XHR = window.XMLHttpRequest || function() {
try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e1) {}
try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e2) {}
try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e3) {}
@@ -56,7 +56,7 @@ function Browser(window, document, body, XHR, $log, $sniffer) {
/**
- * Executes the `fn` function (supports currying) and decrements the `outstandingRequestCallbacks`
+ * Executes the `fn` function(supports currying) and decrements the `outstandingRequestCallbacks`
* counter. If the counter reaches 0, all the `outstandingRequestCallbacks` are executed.
*/
function completeOutstandingRequest(fn) {
@@ -322,7 +322,7 @@ function Browser(window, document, body, XHR, $log, $sniffer) {
*
* @returns {Object} Hash of all cookies (if called without any parameter)
*/
- self.cookies = function (name, value) {
+ self.cookies = function(name, value) {
var cookieLength, cookieArray, cookie, i, keyValue, index;
if (name) {