From 6c48a3ec6634fcf2785e88c5b7ea3fe7532caf01 Mon Sep 17 00:00:00 2001 From: Matt Lewis Date: Sun, 25 Sep 2016 11:58:04 +0100 Subject: [PATCH] feat(position): export position service from index of the position folder BREAKING CHANGE: Before: ``` import {Positioning} from 'angular2-bootstrap-confirm/position/position'; ``` After: ``` import {Positioning} from 'angular2-bootstrap-confirm/position'; ``` --- README.md | 4 ++-- package.json | 2 +- src/position.provider.ts | 2 +- webpack.config.position.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6f0365e..5b6b798 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Then use it in your app on a component: ```typescript import {Component} from '@angular/core'; import {ConfirmOptions, Position} from 'angular2-bootstrap-confirm'; -import {Positioning} from 'angular2-bootstrap-confirm/position/position'; +import {Positioning} from 'angular2-bootstrap-confirm/position'; // Or if you're already using the @ng-bootstrap/ng-bootstrap module // import {Positioning} from '@ng-bootstrap/ng-bootstrap/util/positioning'; // or if you're using the ng2-bootstrap module @@ -89,7 +89,7 @@ You may also find it useful to view the [demo source](https://github.com/mattlew ### Usage without a module bundler ``` - +