Skip to content

Commit 4bf9fe9

Browse files
author
Ben Centra
committed
updating docs, fixing circle build for bower
1 parent d1ac0d8 commit 4bf9fe9

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ Requires jQuery (`>=2.2.4`) and jQuery UI (`>=1.12.0`).
1010

1111
## Installation
1212

13-
For now, just grab the latest file:
13+
You can install blur-overlay from a package manager:
14+
* __npm__: `npm install --save blur-overlay`
15+
* __bower__: `bower install --save blur-overlay`
16+
17+
Or you can grab the latest `.js` file:
1418
* [Development](https://raw.githubusercontent.com/bencentra/blur-overlay/master/dist/blur-overlay.js) (unminified, ~5kb)
1519
* [Production](https://raw.githubusercontent.com/bencentra/blur-overlay/master/dist/blur-overlay.js) (minified, ~3kb)
1620

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"bootstrap": "4.0.0-alpha.3",
2727
"jquery": "2.2.4",
2828
"jquery-ui": "1.12.0",
29-
"highlight": "9.5.0"
29+
"highlightjs": "9.5.0"
3030
}
3131
}

circle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ machine:
44

55
test:
66
override:
7+
- npm install -g bower
8+
- bower install
79
- npm run lint
810
- npm test
911
- npm run build

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="x-ua-compatible" content="ie=edge">
77
<title>jQuery Blur Overlay</title>
88
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
9-
<link rel="stylesheet" href="bower_components/highlight/src/styles/zenburn.css">
9+
<link rel="stylesheet" href="bower_components/highlightjs/styles/zenburn.css">
1010
<style>
1111
body {
1212
width: 100%;
@@ -51,7 +51,7 @@ <h2>Installation</h2>
5151
<p>Grab it from a package manager:
5252
<ul>
5353
<li><strong>npm:</strong> <code>npm install --save blur-overlay</code></li>
54-
<li><strong>Bower:</strong> <code>bower install --save blur-overlay</code></li>
54+
<li><strong>bower:</strong> <code>bower install --save blur-overlay</code></li>
5555
</ul>
5656
</div>
5757
<div class="col-sm-6">
@@ -152,7 +152,7 @@ <h1>This is the overlay!</h1>
152152
<script src="bower_components/jquery/dist/jquery.min.js"></script>
153153
<script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
154154
<!-- <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> -->
155-
<script src="bower_components/highlight/src/highlight.js"></script>
155+
<script src="bower_components/highlightjs/highlight.pack.min.js"></script>
156156
<script src="dist/blur-overlay.js"></script>
157157
<script>
158158

0 commit comments

Comments
 (0)