Skip to content

Commit 719cd34

Browse files
committed
Removed Bower and updated screenfull dep to 3.3.2
1 parent 88ac90b commit 719cd34

File tree

6 files changed

+4147
-40
lines changed

6 files changed

+4147
-40
lines changed

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
src
2+
.env.json
3+
gulpfile.js
4+

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@ You can see the [API documentation](http://hrajchert.github.io/angular-screenful
77

88
## Install
99

10-
#### Download via bower or look for the files in the dist folder
10+
#### Download via npm or look for the files in the dist folder
1111

1212
```sh
13-
$ bower install --save angular-screenfull
13+
$ npm install --save angular-screenfull
1414
```
1515

1616
#### Import it to your page
1717

1818
```html
19-
<script src="bower_components/screenfull/dist/screenfull.js"></script>
20-
<script src="bower_components/angular-screenfull/dist/angular-screenfull.min.js"></script>
19+
<script src="node_modules/screenfull/dist/screenfull.js"></script>
20+
<script src="node_modules/angular-screenfull/dist/angular-screenfull.min.js"></script>
2121
```
2222

23-
Note that [screenfull](https://github.com/sindresorhus/screenfull.js) is added as a bower dependency
24-
so if you use [main bower files](https://github.com/ck86/main-bower-files) the dependency will be added for you.
23+
You need to have both [screenfull](https://github.com/sindresorhus/screenfull.js) and angular-screenfull loaded in the browser in order to the directive to work. I have a an agular.js project using a custom loader, but if you want to add webpack support, PR's are welcomed.
2524

2625
#### Enable it on your app
2726

bower.json

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

0 commit comments

Comments
 (0)