From 2bbef363e4a97b3af6a6900f9a2021a0d191ca40 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 14 Aug 2011 01:47:05 -0700 Subject: style(*): remove extra semicolons --- src/Browser.js | 2 +- src/Scope.js | 2 +- src/apis.js | 2 +- src/filters.js | 2 +- src/scenario/output/Html.js | 4 ++-- src/service/xhr.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/Browser.js b/src/Browser.js index d00301da..dedfad1e 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -188,7 +188,7 @@ function Browser(window, document, body, XHR, $log) { forEach(pollFns, function(pollFn){ pollFn(); }); pollTimeout = setTimeout(check, interval); })(); - }; + } ////////////////////////////////////////////////////////////// // URL API diff --git a/src/Scope.js b/src/Scope.js index 6e90ea66..e978b659 100644 --- a/src/Scope.js +++ b/src/Scope.js @@ -30,7 +30,7 @@ function createScope(providers, instanceCache) { var scope = new Scope(); (scope.$service = createInjector(scope, providers, instanceCache)).eager(); return scope; -}; +} /** diff --git a/src/apis.js b/src/apis.js index 3a9671a8..10cccacf 100644 --- a/src/apis.js +++ b/src/apis.js @@ -827,7 +827,7 @@ function hashKey(obj) { } else if (key === undefined) { key = obj.$hashKey = nextUid(); } - }; + } return objType + ':' + key; } diff --git a/src/filters.js b/src/filters.js index 67e30046..2ee02bce 100644 --- a/src/filters.js +++ b/src/filters.js @@ -218,7 +218,7 @@ function dateStrGetter(name, shortForm) { function timeZoneGetter(date) { var offset = date.getTimezoneOffset(); return padNumber(offset / 60, 2) + padNumber(Math.abs(offset % 60), 2); -}; +} function ampmGetter(date, formats) { return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1]; diff --git a/src/scenario/output/Html.js b/src/scenario/output/Html.js index 2098f214..69b3e485 100644 --- a/src/scenario/output/Html.js +++ b/src/scenario/output/Html.js @@ -142,7 +142,7 @@ angular.scenario.output('html', function(context, runner, model) { currentContext = context.find('#' + id); }); return context.find('#describe-' + spec.definition.id); - }; + } /** * Updates the test counter for the status. @@ -167,5 +167,5 @@ angular.scenario.output('html', function(context, runner, model) { context.find('.test-title').append('
');
     var message = _jQuery.trim(line() + '\n\n' + formatException(error));
     context.find('.test-title pre:last').text(message);
-  };
+  }
 });
diff --git a/src/service/xhr.js b/src/service/xhr.js
index bf882684..5529df99 100644
--- a/src/service/xhr.js
+++ b/src/service/xhr.js
@@ -221,7 +221,7 @@ angularServiceInject('$xhr', function($browser, $error, $log){
     }, extend({'X-XSRF-TOKEN': $browser.cookies()['XSRF-TOKEN']},
               xhrHeaderDefaults.common,
               xhrHeaderDefaults[lowercase(method)]));
-  };
+  }
 
   xhr.defaults = {headers: xhrHeaderDefaults};
 
-- 
cgit v1.2.3