Skip to content

Commit

Permalink
Merge pull request #12 from douglasduteil/chore-routing-replace-angul…
Browse files Browse the repository at this point in the history
…ar-ui-router-by-uirouter-angularjs

🔧 (routing): replace angular-ui-router by @uirouter/angularjs
  • Loading branch information
gregoryruiz authored May 15, 2017
2 parents 6e7bc8b + 38680b3 commit a1d321c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
],
"license": "MIT",
"dependencies": {
"@uirouter/angularjs": "^1.0.3",
"angular": "^1.6.4",
"angular-ui-router": "^1.0.0-rc.1",
"babel-polyfill": "^6.23.0",
Expand Down
4 changes: 2 additions & 2 deletions src/nso/presenter/angular/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
//

import { module as ngModule } from "angular";
import AngularUiRouterModule, {
StateProvider,
UrlRouter,
} from "angular-ui-router";
} from "@uirouter/angularjs";
import { module as ngModule } from "angular";

//

Expand Down
4 changes: 2 additions & 2 deletions src/nso/presenter/angular/explore/explore-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
//

import { module as ngModule } from "angular";
import AngularUiRouterModule, {
StateProvider,
Transition,
UrlRouter,
} from "angular-ui-router";
} from "@uirouter/angularjs";
import { module as ngModule } from "angular";

import { fetchPackageInfosAsync } from "nso/dal";
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import {
StateService,
Transition,
} from "angular-ui-router";
} from "@uirouter/angularjs";
import { test } from "ava";
import { stub } from "sinon";

Expand Down
2 changes: 1 addition & 1 deletion src/nso/presenter/angular/explore/explore.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
Ng1Controller,
StateService,
Transition,
} from "angular-ui-router";
} from "@uirouter/angularjs";

import { IExploreRoutingParams } from "./explore-routing.interface";

Expand Down

0 comments on commit a1d321c

Please sign in to comment.