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

Commit 59c9161

Browse files
committed
chore(deps): update Angular to 2.1.0
1 parent 11caeb8 commit 59c9161

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
"typescript": "^2.0.3"
5353
},
5454
"dependencies": {
55-
"@angular/common": "2.0.2",
56-
"@angular/compiler": "2.0.2",
57-
"@angular/core": "2.0.2",
58-
"@angular/http": "2.0.2",
59-
"@angular/platform-browser": "2.0.2",
60-
"@angular/platform-browser-dynamic": "2.0.2",
61-
"@angular/platform-server": "2.0.2",
62-
"@angular/router": "3.0.2",
55+
"@angular/common": "2.1.0",
56+
"@angular/compiler": "2.1.0",
57+
"@angular/core": "2.1.0",
58+
"@angular/http": "2.1.0",
59+
"@angular/platform-browser": "2.1.0",
60+
"@angular/platform-browser-dynamic": "2.1.0",
61+
"@angular/platform-server": "2.1.0",
62+
"@angular/router": "3.1.0",
6363
"hammerjs": "2.0.6",
6464
"react-native": "0.35.0",
6565
"reflect-metadata": "0.1.8",

src/test_helpers/router_testing_module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Location, LocationStrategy} from '@angular/common';
22
import {Compiler, Injectable, Injector, ModuleWithProviders, NgModule, NgModuleFactory, NgModuleFactoryLoader} from '@angular/core';
3-
import {Route, Router, RouterOutletMap, Routes, UrlSerializer, provideRoutes, __router_private__} from '@angular/router';
3+
import {Route, Router, RouterOutletMap, Routes, UrlSerializer, provideRoutes, __router_private__, PreloadingStrategy, NoPreloading} from '@angular/router';
44
import {ReactNativeRouterModule} from './../router/router_module';
55
import {ReactNativeLocationStrategy} from './../router/location_strategy';
66

@@ -39,6 +39,7 @@ export function setupTestingRouter(
3939
UrlSerializer, RouterOutletMap, Location, NgModuleFactoryLoader, Compiler, Injector, __router_private__.ROUTES
4040
]
4141
},
42+
{provide: PreloadingStrategy, useExisting: NoPreloading},
4243
provideRoutes([])
4344
]
4445
})

0 commit comments

Comments
 (0)