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

Commit 1cbdbdd

Browse files
committed
Merge branch 'fix-reload-with-debug' of github.com:klaascuvelier/angular.js into fix-reload-with-debug
Conflicts: test/AngularSpec.js
2 parents 8539601 + 2c89c4a commit 1cbdbdd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Angular.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1578,6 +1578,7 @@ function bootstrap(element, modules, config) {
15781578
var defaultConfig = {
15791579
strictDi: false
15801580
};
1581+
15811582
config = extend(defaultConfig, config);
15821583
var doBootstrap = function() {
15831584
element = jqLite(element);

test/AngularSpec.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,6 @@ describe('angular', function() {
18261826

18271827
expect(element.html()).toBe('3');
18281828
expect(/\bNG_DEFER_BOOTSTRAP!=true\b/.test(document.cookie)).toBeFalsy();
1829-
<<<<<<< HEAD
18301829
});
18311830
});
18321831

@@ -1869,10 +1868,8 @@ describe('angular', function() {
18691868
it('should remove the cookie', function() {
18701869
document.cookie = 'NG_ENABLE_DEBUG_INFO!=true';
18711870
bootstrap(element);
1872-
1871+
18731872
expect(document.cookie).toEqual('');
1874-
=======
1875-
>>>>>>> fix(Angular.js): use cookie instead of window.name to load with debug info
18761873
});
18771874
});
18781875

@@ -1915,7 +1912,7 @@ describe('angular', function() {
19151912
it('should remove the cookie', function() {
19161913
document.cookie = 'NG_ENABLE_DEBUG_INFO!=true';
19171914
bootstrap(element);
1918-
1915+
19191916
expect(document.cookie).toEqual('');
19201917
});
19211918
});

0 commit comments

Comments
 (0)