mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-26 19:20:24 +00:00
lint
This commit is contained in:
parent
549ff73a9b
commit
4542716370
2 changed files with 3 additions and 3 deletions
|
|
@ -216,7 +216,7 @@ var ngSwitch = angularWidget('NG:SWITCH', function (element){
|
|||
var compiler = this,
|
||||
watchExpr = element.attr("on"),
|
||||
usingExpr = (element.attr("using") || 'equals'),
|
||||
usingExprParams = usingExpr.split(":");
|
||||
usingExprParams = usingExpr.split(":"),
|
||||
usingFn = ngSwitch[usingExprParams.shift()],
|
||||
changeExpr = element.attr('change') || '',
|
||||
cases = [];
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ describe("service", function(){
|
|||
function callback(code, response) {
|
||||
expect(code).toEqual(200);
|
||||
log = log + toJson(response) + ';';
|
||||
};
|
||||
}
|
||||
|
||||
beforeEach(function(){
|
||||
log = '';
|
||||
|
|
@ -229,7 +229,7 @@ describe("service", function(){
|
|||
xhr.expectPOST('/bulk', {
|
||||
requests:[{method:'GET', url:'/url', data: null}]
|
||||
}).respond([
|
||||
{status:200, response:'123'},
|
||||
{status:200, response:'123'}
|
||||
]);
|
||||
cache('GET', '/url', null, callback);
|
||||
cache('GET', '/url', null, callback);
|
||||
|
|
|
|||
Loading…
Reference in a new issue