Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Fix issue with import when using npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Ludlow committed Mar 5, 2016
1 parent 93c67d8 commit 8b55aca
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 286 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,8 @@ _Pvt_Extensions

# FAKE - F# Make
.fake/

# Generated output
/bundles/
/components/
/ng2-bs3-modal.*
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Desktop.ini
.DS_Store

demo
test
index.html
tsconfig.json
tslint.json
tslint.json
*.tgz
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Or, if you're using systemjs, configure it to load them. And import them in your

Then import and include in your component's directives:

import { MODAL_DIRECTIVES } from 'ng2-bs3-modal';
import { MODAL_DIRECTIVES } from 'ng2-bs3-modal/ng2-bs3-modal';

@Component({
directives: [MODAL_DIRECTIVES]
Expand Down
2 changes: 1 addition & 1 deletion demo/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from 'angular2/core';
import { MODAL_DIRECTIVES, ModalResult } from '../src/ng2-bs3-modal';
import { MODAL_DIRECTIVES, ModalResult } from '../src/ng2-bs3-modal/ng2-bs3-modal';

@Component({
selector: 'modal-demo',
Expand Down
5 changes: 0 additions & 5 deletions dist/components/modal-body.d.ts

This file was deleted.

26 changes: 0 additions & 26 deletions dist/components/modal-body.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/modal-body.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/components/modal-footer.d.ts

This file was deleted.

32 changes: 0 additions & 32 deletions dist/components/modal-footer.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/modal-footer.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/components/modal-header.d.ts

This file was deleted.

31 changes: 0 additions & 31 deletions dist/components/modal-header.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/modal-header.js.map

This file was deleted.

29 changes: 0 additions & 29 deletions dist/components/modal.d.ts

This file was deleted.

105 changes: 0 additions & 105 deletions dist/components/modal.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/modal.js.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/ng2-bs3-modal.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions dist/ng2-bs3-modal.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/ng2-bs3-modal.js.map

This file was deleted.

Loading

0 comments on commit 8b55aca

Please sign in to comment.