Skip to content

Commit 2bbef36

Browse files
committed
style(*): remove extra semicolons
1 parent 035ad72 commit 2bbef36

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

src/Browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function Browser(window, document, body, XHR, $log) {
188188
forEach(pollFns, function(pollFn){ pollFn(); });
189189
pollTimeout = setTimeout(check, interval);
190190
})();
191-
};
191+
}
192192

193193
//////////////////////////////////////////////////////////////
194194
// URL API

src/Scope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function createScope(providers, instanceCache) {
3030
var scope = new Scope();
3131
(scope.$service = createInjector(scope, providers, instanceCache)).eager();
3232
return scope;
33-
};
33+
}
3434

3535

3636
/**

src/apis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ function hashKey(obj) {
827827
} else if (key === undefined) {
828828
key = obj.$hashKey = nextUid();
829829
}
830-
};
830+
}
831831
return objType + ':' + key;
832832
}
833833

src/filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function dateStrGetter(name, shortForm) {
218218
function timeZoneGetter(date) {
219219
var offset = date.getTimezoneOffset();
220220
return padNumber(offset / 60, 2) + padNumber(Math.abs(offset % 60), 2);
221-
};
221+
}
222222

223223
function ampmGetter(date, formats) {
224224
return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1];

src/scenario/output/Html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ angular.scenario.output('html', function(context, runner, model) {
142142
currentContext = context.find('#' + id);
143143
});
144144
return context.find('#describe-' + spec.definition.id);
145-
};
145+
}
146146

147147
/**
148148
* Updates the test counter for the status.
@@ -167,5 +167,5 @@ angular.scenario.output('html', function(context, runner, model) {
167167
context.find('.test-title').append('<pre></pre>');
168168
var message = _jQuery.trim(line() + '\n\n' + formatException(error));
169169
context.find('.test-title pre:last').text(message);
170-
};
170+
}
171171
});

src/service/xhr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ angularServiceInject('$xhr', function($browser, $error, $log){
221221
}, extend({'X-XSRF-TOKEN': $browser.cookies()['XSRF-TOKEN']},
222222
xhrHeaderDefaults.common,
223223
xhrHeaderDefaults[lowercase(method)]));
224-
};
224+
}
225225

226226
xhr.defaults = {headers: xhrHeaderDefaults};
227227

test/jqLiteSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ describe('jqLite', function(){
572572
var element = jqLite('<div><span>aa</span></div><div><span>bb</span></div>');
573573
expect(element.find('span').eq(0).html()).toBe('aa');
574574
expect(element.find('span').eq(-1).html()).toBe('bb');
575-
expect(element.find('span').eq(20).length).toBe(0);;
575+
expect(element.find('span').eq(20).length).toBe(0);
576576
});
577577
});
578578
});

test/widgetsSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,22 +589,22 @@ describe("widget", function(){
589589
'</select>';
590590
select = jqLite(html);
591591
scope = compile(select);
592-
};
592+
}
593593

594594
function createSingleSelect(blank, unknown){
595595
createSelect({
596596
'name':'selected',
597597
'ng:options':'value.name for value in values'
598598
}, blank, unknown);
599-
};
599+
}
600600

601601
function createMultiSelect(blank, unknown){
602602
createSelect({
603603
'name':'selected',
604604
'multiple':true,
605605
'ng:options':'value.name for value in values'
606606
}, blank, unknown);
607-
};
607+
}
608608

609609
afterEach(function(){
610610
dealoc(select);

0 commit comments

Comments
 (0)