Skip to content

Commit 5f8fe7c

Browse files
committed
Compress JS file and update README
1 parent df8bba3 commit 5f8fe7c

File tree

6 files changed

+23
-7
lines changed

6 files changed

+23
-7
lines changed

LICENSE

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
The MIT License (MIT)
2-
31
Copyright (c) 2013 Trevan Hetzel
42

53
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -17,4 +15,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
1715
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1816
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1917
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Slidebox is a super tiny jQuery carousel slider with lightbox-like image enlarge
1515
Usage
1616
========
1717

18-
## 1. Reference jQuery
18+
## 1. Reference jQuery & the Slidebox library
1919

2020
## 2. Initialize slidebox
2121

@@ -31,7 +31,7 @@ Slidebox needs to be initialized, either in ```<script>``` tags at the bottom of
3131

3232
### Parameters
3333

34-
####Slidebox currently accepts only five parameters.##
34+
#### Slidebox currently accepts only five parameters.##
3535

3636
**container**
3737
The div containing the ```.carousel``` unordered list.

demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</body>
7575

7676
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
77-
<script src="../slidebox.js"></script>
77+
<script src="../slidebox.min.js"></script>
7878
<script>
7979
slidebox({
8080
container : ".carousel-cont",

demo/style.css

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
body {
2+
width: 96%;
3+
margin: 20px;
4+
position: relative;
5+
}
16
.carousel-cont {
27
width: 100%;
38
overflow: hidden;

slidebox.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
slidebox = function (params) {
1+
/*! Slidebox.JS - v1.0 - 2013-11-30
2+
* http://github.com/trevanhetzel/slidebox
3+
*
4+
* Copyright (c) 2013 Trevan Hetzel <trevan.co>;
5+
* Licensed under the MIT license */
6+
7+
slidebox = function (params) {
28

39
// Carousel
410
carousel = function () {

slidebox.min.js

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

0 commit comments

Comments
 (0)