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

Commit 908e9c0

Browse files
author
Douglas Ludlow
committed
Increment version, update readme.
1 parent c20db51 commit 908e9c0

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ Angular2 Bootstrap3 Modal Component
44
## Demo
55
http://dougludlow.github.io/ng2-bs3-modal/
66

7+
## Requirements
8+
9+
`ng2-bs3-modal` depends on bootstrap which depends on jquery, you'll need to include both scripts before ng2-bs3-modal:
10+
11+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.js"></script>
13+
14+
15+
Or, if you're using systemjs, configure it to load them. And import them in your typscript.
16+
717
## Install
818

919
npm install ng2-bs3-modal

dist/components/modal-footer.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/modal-footer.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng2-bs3-modal",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Angular2 Boostrap3 Modal Component",
55
"main": "dist/ng2-bs3-modal.js",
66
"scripts": {
@@ -36,5 +36,8 @@
3636
},
3737
"dependencies": {
3838
"angular2": "^2.0.0-beta.3"
39+
},
40+
"peerDependencies": {
41+
"bootsrap": "3.3"
3942
}
4043
}

0 commit comments

Comments
 (0)