Skip to content

Commit 74fec5b

Browse files
refactor(LocationServices): Update to match ui-router-core api
1 parent 25317e1 commit 74fec5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/urlRouterProvider.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,9 @@ export class RawNg1UrlRule implements UrlRule {
208208
type: UrlRuleType = "RAW";
209209
priority = 0;
210210

211-
constructor(public ruleFn: RawNg1RuleFunction, public router: UIRouter) {
212-
}
211+
constructor(public ruleFn: RawNg1RuleFunction, public router: UIRouter) { }
213212

214-
match = (path: string, search: any, hash: string) =>
213+
match = () =>
215214
this.ruleFn(services.$injector, this.router.locationService);
216215

217216
handler = identity

0 commit comments

Comments
 (0)