Skip to content

Commit 16b7a90

Browse files
committed
30c4352 fix(http) : set response.ok based on given status code
1 parent b6b738b commit 16b7a90

45 files changed

Lines changed: 658 additions & 841 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Wed Apr 20 04:45:19 UTC 2016
2-
f4e6994634a9cf6c2c20aa8c2268233e2667edf8
1+
Wed Apr 20 04:46:14 UTC 2016
2+
30c43521d316426caad01ce19c7e4fd655493c5e

_analyzer.dart

Lines changed: 521 additions & 525 deletions
Large diffs are not rendered by default.

lib/platform/common.dart

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/platform/common_dom.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
2-
* This is a set of DOM related classes and objects that can be used both in the browser and on the
3-
* server.
2+
* This is a set of classes and objects that can be used both in the browser and on the server.
43
*/
54
library angular2.platform.common_dom;
65

lib/platform/testing/browser_static.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import "package:angular2/src/mock/view_resolver_mock.dart"
2222
show MockViewResolver;
2323
import "package:angular2/src/mock/mock_location_strategy.dart"
2424
show MockLocationStrategy;
25-
import "package:angular2/platform/common.dart" show LocationStrategy;
25+
import "package:angular2/src/router/location/location_strategy.dart"
26+
show LocationStrategy;
2627
import "package:angular2/src/mock/ng_zone_mock.dart" show MockNgZone;
2728
import "package:angular2/src/platform/browser/xhr_impl.dart" show XHRImpl;
2829
import "package:angular2/compiler.dart" show XHR;

lib/router.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@ export "src/router/router.dart" show Router;
99
export "src/router/directives/router_outlet.dart" show RouterOutlet;
1010
export "src/router/directives/router_link.dart" show RouterLink;
1111
export "src/router/instruction.dart" show RouteParams, RouteData;
12+
export "src/router/location/platform_location.dart" show PlatformLocation;
1213
export "src/router/route_registry.dart"
1314
show RouteRegistry, ROUTER_PRIMARY_COMPONENT;
15+
export "src/router/location/location_strategy.dart"
16+
show LocationStrategy, APP_BASE_HREF;
17+
export "src/router/location/hash_location_strategy.dart"
18+
show HashLocationStrategy;
19+
export "src/router/location/path_location_strategy.dart"
20+
show PathLocationStrategy;
21+
export "src/router/location/location.dart" show Location;
1422
export "src/router/route_config/route_config_decorator.dart";
1523
export "src/router/route_definition.dart";
1624
export "src/router/interfaces.dart"

lib/src/common/directives.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ library angular2.src.common.directives;
88
export "directives/ng_class.dart" show NgClass;
99
export "directives/ng_for.dart" show NgFor;
1010
export "directives/ng_if.dart" show NgIf;
11-
export "directives/ng_template_outlet.dart" show NgTemplateOutlet;
1211
export "directives/ng_style.dart" show NgStyle;
1312
export "directives/ng_switch.dart" show NgSwitch, NgSwitchWhen, NgSwitchDefault;
1413
export "directives/ng_plural.dart" show NgPlural, NgPluralCase, NgLocalization;

lib/src/common/directives/core_directives.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import "package:angular2/src/facade/lang.dart" show Type;
44
import "ng_class.dart" show NgClass;
55
import "ng_for.dart" show NgFor;
66
import "ng_if.dart" show NgIf;
7-
import "ng_template_outlet.dart" show NgTemplateOutlet;
87
import "ng_style.dart" show NgStyle;
98
import "ng_switch.dart" show NgSwitch, NgSwitchWhen, NgSwitchDefault;
109
import "ng_plural.dart" show NgPlural, NgPluralCase;
@@ -53,7 +52,6 @@ const List<Type> CORE_DIRECTIVES = const [
5352
NgClass,
5453
NgFor,
5554
NgIf,
56-
NgTemplateOutlet,
5755
NgStyle,
5856
NgSwitch,
5957
NgSwitchWhen,

lib/src/common/directives/ng_template_outlet.dart

Lines changed: 0 additions & 30 deletions
This file was deleted.

lib/src/mock/location_mock.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "package:angular2/src/core/di.dart" show Injectable;
44
import "package:angular2/src/facade/async.dart"
55
show EventEmitter, ObservableWrapper;
66
import "package:angular2/src/facade/collection.dart" show ListWrapper;
7-
import "package:angular2/platform/common.dart" show Location;
7+
import "package:angular2/src/router/location/location.dart" show Location;
88

99
/**
1010
* A spy for [Location] that allows tests to fire simulated location events.

0 commit comments

Comments
 (0)