aboutsummaryrefslogtreecommitdiffstats
path: root/src/services.js
diff options
context:
space:
mode:
authorMisko Hevery2010-09-14 23:22:15 +0200
committerMisko Hevery2010-09-14 23:22:15 +0200
commit894ffadc8c35da6c7daf3e16a9f4931b24f3b231 (patch)
treeb96beb2111540f928bfcf410afae8036c312c046 /src/services.js
parente3f760fbadedc977d9f5f461feafbaecab5a9046 (diff)
downloadangular.js-894ffadc8c35da6c7daf3e16a9f4931b24f3b231.tar.bz2
Fixed all trivial jslint violations
Diffstat (limited to 'src/services.js')
-rw-r--r--src/services.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/services.js b/src/services.js
index 41f179e9..31c5e7af 100644
--- a/src/services.js
+++ b/src/services.js
@@ -109,7 +109,7 @@ angularService('$exceptionHandler', function($log){
}, {inject:['$log']});
angularService("$hover", function(browser, document) {
- var tooltip, self = this, error, width = 300, arrowWidth = 10, body = jqLite(document[0].body);;
+ var tooltip, self = this, error, width = 300, arrowWidth = 10, body = jqLite(document[0].body);
browser.hover(function(element, show){
if (show && (error = element.attr(NG_EXCEPTION) || element.attr(NG_VALIDATION_ERROR))) {
if (!tooltip) {
@@ -345,7 +345,7 @@ angularService('$xhr.bulk', function($xhr, $error, $log){
}, {inject:['$xhr', '$xhr.error', '$log']});
angularService('$xhr.cache', function($xhr){
- var inflight = {}, self = this;;
+ var inflight = {}, self = this;
function cache(method, url, post, callback, verifyCache){
if (isFunction(post)) {
callback = post;
@@ -418,7 +418,7 @@ angularService('$cookies', function($browser) {
//delete cookies[name];
}
}
- };
+ }
}, {inject: ['$browser']});
@@ -455,4 +455,4 @@ angularService('$sessionStore', function($store) {
return new SessionStore();
-}, {inject: ['$cookies']}); \ No newline at end of file
+}, {inject: ['$cookies']});