Skip to content

Commit b0a672f

Browse files
feat(rx): Move reactive extension to its own project at http://github.com/ui-router/rx
1 parent 8bc17f5 commit b0a672f

File tree

5 files changed

+10
-72
lines changed

5 files changed

+10
-72
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"main": "lib/index.js",
5151
"typings": "lib/index.d.ts",
5252
"dependencies": {
53-
"ui-router-core": "=3.1.1"
53+
"ui-router-core": "=3.1.1",
54+
"ui-router-rx": "=0.2.0"
5455
},
5556
"peerDependencies": {
5657
"@angular/common": "^2.0.0",

src/directives/uiSref.ts

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
/** @ng2api @module directives */ /** */
2-
import {UIRouter, UIRouterGlobals} from "ui-router-core";
3-
import {Directive, Inject, Input} from "@angular/core";
4-
import {Optional} from "@angular/core";
5-
import {ElementRef} from "@angular/core";
6-
import {Renderer} from "@angular/core";
7-
import {UIView, ParentUIViewInject} from "./uiView";
8-
import {extend, Obj} from "ui-router-core";
9-
import {TransitionOptions} from "ui-router-core";
10-
import {Globals} from "ui-router-core";
11-
import {ReplaySubject} from 'rxjs/ReplaySubject';
12-
import {Subscription} from 'rxjs/Subscription';
13-
import {TargetState} from "ui-router-core";
14-
import "../rx";
1+
/** @ng2api @module directives */
2+
/** */
3+
import { UIRouter, UIRouterGlobals, extend, Obj, TransitionOptions, Globals, TargetState } from "ui-router-core";
4+
import { Directive, Inject, Input, Optional, ElementRef, Renderer } from "@angular/core";
5+
import { UIView, ParentUIViewInject } from "./uiView";
6+
import { ReplaySubject } from "rxjs/ReplaySubject";
7+
import { Subscription } from "rxjs/Subscription";
158

169
/**
1710
* @internalapi

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ export * from "./directives/directives";
2121
export * from "./location/uiRouterLocation";
2222
export * from "./statebuilders/views";
2323
export * from "./lazyLoad/lazyLoadNgModule";
24-
export * from "./rx";

src/providers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ import { Ng2ViewDeclaration } from "./interface";
9696
import { applyRootModuleConfig, applyModuleConfig } from "./uiRouterConfig";
9797
import { UIRouterLocation } from "./location/uiRouterLocation";
9898
import { RootModule, StatesModule, UIROUTER_ROOT_MODULE, UIROUTER_MODULE_TOKEN } from "./uiRouterNgModule";
99-
import { UIRouterRx } from "./rx";
10099
import { servicesPlugin } from "ui-router-core/lib/vanilla";
101100
import { ServicesPlugin } from "ui-router-core/lib/vanilla/interface";
102101
import { ng2LazyLoadBuilder } from "./statebuilders/lazyLoad";
102+
import { UIRouterRx } from "ui-router-rx";
103103

104104
/**
105105
* This is a factory function for a UIRouter instance

src/rx.ts

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

0 commit comments

Comments
 (0)