Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 68d0225

Browse files
committed
style(Angular.js): make jscs happy
1 parent cdf07ef commit 68d0225

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Angular.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ function extend(dst) {
358358
for (var j = 0, jj = keys.length; j < jj; j++) {
359359
var key = keys[j];
360360
var src = obj[key];
361-
362-
if (isDeep && isObject(src)) {
361+
362+
if (isDeep && isObject(src)) {
363363
if (!isObject(dst[key])) dst[key] = isArray(src) ? [] : {};
364364
extend(dst[key], src, 0xFACECAFE);
365365
} else {

test/AngularSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ describe('angular', function() {
231231
expect(dst).toEqual({
232232
foo: {
233233
bar: 'foobar',
234-
bazz: 'foobazz',
234+
bazz: 'foobazz'
235235
}
236236
});
237237
expect(dst.foo.$$hashKey).toBeUndefined();

0 commit comments

Comments
 (0)