Skip to content

Commit 5dcd4bc

Browse files
chore(glob): Move Glob to common/glob.ts
1 parent 9776544 commit 5dcd4bc

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed
File renamed without changes.

src/common/module.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/** @module common */ /** for typedoc */
22
export * from "./common";
3+
export * from "./coreservices";
4+
export * from "./glob";
35
export * from "./hof";
46
export * from "./predicates";
5-
export * from "./coreservices";
67
export * from "./queue";
78
export * from "./trace";

src/state/module.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/** @module state */ /** for typedoc */
2-
export * from "./glob";
32
export * from "./state";
43
export * from "./stateBuilder";
54
export * from "./hooks/transitionManager";

src/state/stateService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {RawParams} from "../params/interface";
2626
import {ParamsOrArray} from "../params/interface";
2727
import {TransitionManager} from "./hooks/transitionManager";
2828
import {Param} from "../params/param";
29-
import {Glob} from "./glob";
29+
import {Glob} from "../common/glob";
3030
import {equalForKeys} from "../common/common";
3131
import {HrefOptions} from "./interface";
3232
import {StateProvider} from "./state";

src/transition/hookRegistry.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import {val} from "../common/hof";
55
import {Node} from "../path/node";
66

77
import {IMatchCriteria, IStateMatch, IEventHook, IHookRegistry, IHookRegistration, TreeChanges, MatchCriterion, IMatchingNodes} from "./interface";
8-
import {Glob, State} from "../state/module";
8+
import {Glob} from "../common/glob";
9+
import {State} from "../state/stateObject";
910

1011
/**
1112
* Determines if the given state matches the matchCriteria

test/globSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var uiRouter = require("angular-ui-router");
2-
var Glob = uiRouter.state.Glob;
2+
var Glob = uiRouter.common.Glob;
33

44
describe('Glob', function() {
55
it('should match glob strings', function() {

0 commit comments

Comments
 (0)