Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$(window).focus startAuto() when autoPaused #1162

Open
wants to merge 240 commits into
base: 4.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
b1a709b
new slide_width init
Feb 28, 2013
8174849
complete slideWidth re-write
Feb 28, 2013
c462d33
slideWidth parseInt
Feb 28, 2013
9df40b6
log cleanup
Feb 28, 2013
a0aaf84
version number comments update
Feb 28, 2013
f82a33b
disabled controls if only one page
Mar 3, 2013
e32daa8
disabled controls if only one page - #49
Mar 3, 2013
6263c34
Merge branch '4.1' of github.com:wandoledzep/bxslider-4 into 4.1
Mar 3, 2013
46919dc
added redrawSlider public method - #93
Mar 3, 2013
f4dc8e0
added license to readme
Mar 11, 2013
17570c9
Fixes #113 - return this on empty selector
pads Mar 13, 2013
6642aec
Fixes #113 correctly - return this on empty selector
pads Mar 13, 2013
ed6a3dc
fixed ticker mode - incorrect pager check
Mar 23, 2013
5976999
removed log message
Mar 23, 2013
56ef6e4
Merge pull request #115 from pads/master
Mar 23, 2013
44cefe3
Added a method to return our Slider controls element.
jasonfarrell Mar 27, 2013
1736884
Position error bugfix
jasonfarrell Mar 27, 2013
42aea2b
control visibility bug fix - #128
Mar 30, 2013
5a0381a
minify setup
Mar 30, 2013
407e890
minify setup revert
Mar 30, 2013
b2d7e94
Merge pull request #134 from UseAllFive/position_bugfix
Mar 30, 2013
294211c
fixed merge formatting - #134
Mar 30, 2013
c17a9ee
Fixed bx-wrapper height issue when pager mode is disabled
Apr 7, 2013
c0aa51d
infinite loop now uses first level .bx-clone children to calculate ne…
Apr 9, 2013
1f49e88
if only 1 page exist, next button movement direction is same as prev…
Apr 9, 2013
fe3de98
do not set caption if title attribute is empty string
turboezh May 2, 2013
1827eb8
fixed bug pagerType:'short'
b-abdelmajid Jun 4, 2013
47d0153
removed imagesLoaded library, and fixed iframe loading
Jun 5, 2013
32b1f9d
new min file
Jun 5, 2013
9712531
add datestamp to loading images
Jun 5, 2013
d960568
timestamp fix
Jun 5, 2013
3aa6665
updated readme
Jun 5, 2013
7e081d0
Merge pull request #146 from sbouchex/master
Jun 5, 2013
374c3ae
Merge pull request #148 from k2o/master
Jun 5, 2013
a9906d5
updated hideControlOnEnd docs - #160
Jun 5, 2013
4920236
Merge branch 'master' of github.com:wandoledzep/bxslider-4
Jun 5, 2013
f766856
retain original style attr when using destroySlider - #168
Jun 6, 2013
2d13d4a
Merge pull request #175 from turboezh/master
Jun 6, 2013
0601e49
apply children widths using .css(width) instead of .width() - #211
Jun 6, 2013
30ca50c
Merge branch 'master' of github.com:wandoledzep/bxslider-4
Jun 6, 2013
62b73a9
Merge pull request #217 from b-abdelmajid/master
Jun 6, 2013
ce8aac6
removed console log
Jun 6, 2013
5f22844
add a timestamp to all images within slider children
Jun 6, 2013
99a9d5c
added timeout chrome fix
Jun 6, 2013
1420cab
tidy up chrome cached image load
Jun 6, 2013
41b6214
Fix to loadElements
postcasio Jun 6, 2013
6242e94
Merge pull request #220 from postcasio/patch-1
Jun 6, 2013
1e91cc2
new min file
Jun 6, 2013
2ea167e
added responsive option - #153
Jun 6, 2013
f711e46
updated readme
Jun 6, 2013
c41ccac
changed .width to .outerWidth calculations to fix box-sizing issues -…
Jun 6, 2013
798eda1
Merge branch 'master' of github.com:wandoledzep/bxslider-4
Jun 6, 2013
618c87a
accessibility fix: give styles on focus
keul Jun 12, 2013
ab1d56b
round up pagerQty when moveSlides/infiniteLoop
Jun 13, 2013
61dc601
Fixes bx-viewport height issue when using `box-sizing:border-box|padd…
Jun 26, 2013
2e746f4
Auto slide for single page
abhishek-ak Jul 26, 2013
6e748da
Consider slide margin in getNumberSlideShowing
pavelvlasov Aug 7, 2013
d062e47
prevent resize from running if slider is destroyed, avoiding styles t…
idflood Aug 26, 2013
4e5db74
Ignore links without data-slide-index inside slides
Olegacy Aug 27, 2013
ef3b3a2
removed timestamp from images
Sep 16, 2013
1b3e585
new zip generate
Sep 16, 2013
a9a02a7
new zip generate2
Sep 16, 2013
8b3d6e9
changed to MIT license
Sep 18, 2013
e176926
fixed bug for calculating last child width. It was not taking padding…
dodozhang21 Sep 20, 2013
6deda35
[FIX] bad getPagerQty() when moveSlides and infiniteLoop options are …
Sep 26, 2013
b368f4e
Fixes resize bug where li's new width would not be set.
bsthomsen Oct 17, 2013
9ebd4fc
Added the ablility to change wrapper.
Oct 23, 2013
051d839
Updated README.md
Oct 23, 2013
6422b31
Fix invalid css
nikolawannabe Oct 23, 2013
38c8ec5
Replace .delegate with .on
geertclerx Nov 25, 2013
99aec30
added option sliderZindex, to provide a config for the z-index used o…
anderssonola Dec 2, 2013
64ed933
fixed typo
anderssonola Dec 2, 2013
753f4b0
changed default sliderZIndex to 50
anderssonola Dec 2, 2013
6b42ec2
changed option-name
anderssonola Dec 2, 2013
8277910
Added a new method to return the current slide element.
maurobender Dec 28, 2013
7e19f9c
Added `onSliderResize` callback
danbettles Jan 22, 2014
ad965cc
Fixed issue #459: pass through if position is uninitialized.
hirayama-evolni Mar 5, 2014
4ab75da
adds bower.json
Mar 6, 2014
8d5018f
updates year in copyright segment
Mar 6, 2014
0a02cb9
Bump up version number
Mar 6, 2014
c66e410
on destroy, only kill the pager if this plugin added it
gavinblair Mar 10, 2014
6e25c97
Update jquery.bxslider.css
Mar 19, 2014
c1f5d7a
added min
Apr 4, 2014
c3efd97
Merge pull request #486 from jonathantsilva/patch-1
Apr 4, 2014
1f7f93b
Merge pull request #477 from gavinblair/master
Apr 4, 2014
b5505fb
Merge pull request #474 from kallisto-consulting/master
Apr 4, 2014
48aca98
added min
Apr 4, 2014
f0d4766
min conflict
Apr 4, 2014
f67072d
Merge pull request #416 from maurobender/master
Apr 4, 2014
ac05a4d
Merge pull request #402 from anderssonola/z-index-option
Apr 4, 2014
1f7b3c3
Merge pull request #396 from gclx/master
Apr 4, 2014
dc7da75
Merge pull request #364 from nikolawannabe/patch-1
Apr 4, 2014
084e4a0
min add
Apr 4, 2014
df9258d
conflict fix
Apr 4, 2014
08b8013
Merge branch 'master' of github.com:wandoledzep/bxslider-4
Apr 4, 2014
785f338
Merge pull request #356 from bsthomsen/patch-1
Apr 4, 2014
f82df0e
Merge pull request #336 from RBSWebFactory/master
Apr 4, 2014
66e8a0a
Merge pull request #329 from dodozhang21/master
Apr 4, 2014
a489df4
Merge pull request #314 from Olegacy/patch-1
Apr 4, 2014
b25427c
Merge pull request #306 from idflood/destroyStyles
Apr 4, 2014
608091b
Merge pull request #291 from freakycue/master
Apr 4, 2014
6798bbf
removed extra semicolons
Apr 4, 2014
d754d6b
conflict fix
Apr 4, 2014
101b80c
Merge pull request #253 from GreenImp/master
Apr 4, 2014
c962ca6
Merge pull request #232 from bitcrowd/master
Apr 4, 2014
8378193
Update jquery.bxslider.css
dhimaskirana Apr 22, 2014
6412582
Fixed typos
pborreli May 23, 2014
c008ac5
Remove vendor prefix for translateZ(0)
Jun 17, 2014
873f8d5
Indentation fix: #578
Jan 21, 2015
2110d79
Merge branch 'patch-1' of https://github.com/dhmskrn/bxslider-4 into …
Jan 21, 2015
22be2e7
Merge branch 'accessibility-fixes' of https://github.com/RedTurtle/bx…
Jan 21, 2015
f3a24dc
Merge branch 'patch-1' of https://github.com/DarbyBrown/bxslider-4 in…
Jan 21, 2015
b823ea6
Merge branch 'typos' of https://github.com/pborreli/bxslider-4 into d…
Jan 21, 2015
110768d
Fix: wrongly removing custom pager in destroySlider #610
Jan 21, 2015
e28e84b
pager: false bugfix #682
Jan 21, 2015
35ad259
fix for This fixes extra space on the left when using fade mode. #715
Jan 21, 2015
58381b9
Move theme styles up to wrapper to fix content pushing out of grids
Jan 21, 2015
0a8197c
https://github.com/stevenwanderski/bxslider-4/pull/714
Jan 21, 2015
ae9ddb2
Fix Increased the width of the slider element by a factor of 100. #481
Jan 21, 2015
016d24e
update version and changelog
Jan 21, 2015
49a5949
update minified version
Jan 21, 2015
8c1746c
Structure rework
Jan 22, 2015
cb463a3
add node_modules to .gitignore
Jan 22, 2015
29a166f
gulp build, examples started
Jan 24, 2015
d5581ff
fix bad commit from pager fix
Jan 24, 2015
1e6b1e7
Reverse pull #682, bad PR, fixes issue #720
Jan 24, 2015
4cafbf8
prep for 4.2
Feb 3, 2015
1b95eae
4.2.0 adjustments
Feb 3, 2015
578cb9b
4.2.0 update
Feb 3, 2015
84d18b4
fix merge conflicts, update bower.
Feb 3, 2015
ec4a9b1
Fix for updateAfterSlideTransition not called (#704), Fix for slider …
Feb 6, 2015
7554951
Cancel transitions on callbacks by returning false. (#411)
Feb 6, 2015
1643322
remove unused variable (#733)
Feb 6, 2015
744a7ad
Fix for ticker jump (#669) - Must force preload to all for now
Feb 6, 2015
cf831d1
fixes issues with resizeWindow killing bind and then not firing updat…
Feb 6, 2015
8496f98
add Public Function isWorking() which returns slider status
Feb 6, 2015
9c3f267
Fix margin when controls=true and pager=false #647
Feb 6, 2015
523dbfa
Add useCss based tickerHover
Feb 6, 2015
d3225a5
Fix loading.gif not being seen because there is no height in slider
Feb 6, 2015
f5b3064
Fix issue where slider.carousel would be set to false
Feb 7, 2015
c93f419
add keyboard support, add isOnScreen to check if slider is visible on…
Feb 7, 2015
7e0ba16
bxSlider 4.1.2 freezes on touch devices #540
Feb 8, 2015
4f56d19
Accessing bxslider's slider object inside its “onSliderLoad” callback…
Feb 8, 2015
44af6b1
update file versions
Feb 8, 2015
fc90b12
adjustment for load error
Feb 8, 2015
77a1db0
4.2.3 minor bug fix
Feb 10, 2015
5e51bec
fixing readme step3
Mar 31, 2015
494ded5
Merge pull request #788 from orlando/bug/fixing-readme
Mar 31, 2015
feef45f
update .gitigonre
Apr 15, 2015
4f6faf3
update .gitigonre
Apr 15, 2015
2f351b8
4.2.4 development commit
Apr 15, 2015
4a38ec2
Specify HTTPS and update jQuery library version
May 14, 2015
f597cef
Merge pull request #812 from danfern-simi/patch-1
May 14, 2015
43a3c0f
Added data reference. Sorted most of the documentation out.
Jun 2, 2015
5de5494
Update readme. adjust data attributes
Jun 2, 2015
20ef8e3
Update readme
Jun 2, 2015
0699c6f
modifiy readme. Update dist.
Jun 2, 2015
30c05d9
fix merge conflict
Jun 2, 2015
23cc578
update readme
Jun 2, 2015
730d057
fix iterators
Jun 2, 2015
e048128
fix index issue closes stevenwanderski/bxslider-4#835
ppowalowski Jun 7, 2015
473363c
Merge pull request #836 from ppowalowski/slide-index-fix
Jun 8, 2015
fd0b8d4
4.2.5 Commit
Jun 9, 2015
8795fa0
Remove private flag from package.json
pwalsh Jun 20, 2015
d163613
Merge pull request #857 from pwalsh/feature/npm-publish
Jun 20, 2015
6b77223
Update CONTRIBUTING.md
Jul 21, 2015
837cf64
fix error pagerqty
Jul 29, 2015
3fde6e9
Update jquery.bxslider.css
mattbrundage Sep 23, 2015
1f2264a
Fix the problem https://github.com/stevenwanderski/bxslider-4/issues/…
manfe Sep 25, 2015
fc4cdcb
Fix typo
manfe Sep 25, 2015
17fb374
Fixing flickering (on -webkit) when used background-image to <li> ins…
narek-t Jan 9, 2016
08c4f91
Format the license in package.json to match the SPDX standard
dcohenb May 2, 2016
0ec917b
Stop using deprecated .load() method
Jun 22, 2016
9a74d6b
Allow using newer node engines.
tamalsaha Oct 22, 2016
f3350fe
Merge pull request #1024 from DawnPaladin/jquery-3-compat
stevenwanderski Feb 14, 2017
da8738a
Update readme.md
stevenwanderski Feb 14, 2017
8be4640
Replaces Grunt with Gulp
stevenwanderski Feb 14, 2017
ff7ab2a
Adds Gulp instructions in readme
stevenwanderski Feb 14, 2017
ca21abd
Merge pull request #1096 from stevenwanderski/4.2.6-gulp
stevenwanderski Feb 14, 2017
bdf9d7f
Bumps to v4.2.7
stevenwanderski Feb 15, 2017
3057bab
Fix division by 0
lissod Feb 21, 2017
d169c65
Removes auto center from theme - v4.2.8
stevenwanderski Feb 24, 2017
d68b261
Merge pull request #1104 from stevenwanderski/theme-remove-margin-center
stevenwanderski Feb 24, 2017
a00b6b2
Merge pull request #1058 from TamalSaha/patch-1
stevenwanderski Feb 27, 2017
f942436
Bump to v4.2.9
stevenwanderski Feb 27, 2017
9a7cea0
Bumps all to v4.2.10
stevenwanderski Feb 27, 2017
7f1782c
Update readme version
stevenwanderski Feb 27, 2017
70a8434
Removes auto-centering when no pager or controls - v4.2.11
stevenwanderski Mar 8, 2017
1dbcd4d
Merge pull request #1109 from stevenwanderski/remove-auto-centering
stevenwanderski Mar 8, 2017
090b9e2
Fixes auto control theme
stevenwanderski Mar 8, 2017
63cf2f7
Cleanup and fix formatting issues.
xdega Mar 20, 2017
0c960b0
Merge pull request #1115 from xdega/patch-1
sekmenhuseyin Mar 25, 2017
46408a3
Merge pull request #1003 from dcohenb/license_format_fix
sekmenhuseyin Mar 25, 2017
e5b576c
Merge pull request #882 from bein-sports/fix-pager-counter
sekmenhuseyin Mar 25, 2017
2a26057
Merge pull request #919 from manfe/fix_compatibility_with_compressors
sekmenhuseyin Mar 25, 2017
ba83b9f
Merge pull request #915 from mattbrundage/patch-1
sekmenhuseyin Mar 25, 2017
9a823bd
fix merge conflicts
sekmenhuseyin Mar 25, 2017
62dd3db
fix #1107
sekmenhuseyin Mar 26, 2017
be74abd
Fix #1118
waissbluth Mar 30, 2017
e67c6e1
Merge pull request #1119 from waissbluth/fix-1118
sekmenhuseyin Apr 4, 2017
0239167
Merge pull request #1102 from lissod/fix-division-by-0
sekmenhuseyin Apr 4, 2017
cb40ef3
Fix #1112
sekmenhuseyin Apr 4, 2017
d02f175
added example page
sekmenhuseyin Apr 4, 2017
7d40e00
Add Callback for when Auto changes... #1078
sekmenhuseyin Apr 4, 2017
c307058
Fix #256
sekmenhuseyin Apr 10, 2017
acf275f
remove unnecessary / duplicate boolean setting
cliffordp Jul 7, 2017
b3fa7d4
FIX calling API method stopAuto()
digitv Oct 19, 2017
fa0fc90
InvalidPointerId on Android 6
durr04 Dec 12, 2017
b053a7d
Merge pull request #1 from durr04/durr04-patch-1
durr04 Dec 12, 2017
9daaac4
first fix for firefox 59
Mar 19, 2018
716d596
fix for Firefox59 and PointerEvent standard compatibility
Mar 26, 2018
91c23b8
fix for middle mouse click
Mar 26, 2018
2fc9d82
code formatting
Mar 26, 2018
897d7ea
rollback to touch support
Mar 26, 2018
b75a6dd
unnecessary prevention of default action
Danila1985 Mar 26, 2018
441b85e
Merge pull request #1191 from Danila1985/fix/firefox59
sekmenhuseyin Apr 9, 2018
193a6eb
distribution updated
sekmenhuseyin Apr 9, 2018
b9713f8
readme version update
sekmenhuseyin Apr 9, 2018
ceecb98
Merge pull request #1148 from cliffordp/patch-2
sekmenhuseyin Apr 9, 2018
dc15d1f
fix ==
sekmenhuseyin Apr 9, 2018
d1efb55
update dist
sekmenhuseyin Apr 9, 2018
cc6a863
Merge pull request #1176 from durr04/master
sekmenhuseyin Apr 9, 2018
80d1189
Merge pull request #1171 from digitv/master
sekmenhuseyin Apr 9, 2018
d91897c
updated dist
sekmenhuseyin Apr 9, 2018
e3f846c
Use jQuery.fn.on instead of jQuery.fn.bind #1126
sekmenhuseyin Apr 9, 2018
01a4a4a
Adds the ability to disable the preloading of images. #1082
sekmenhuseyin Apr 9, 2018
e4ce704
Merge pull request #967 from narek-t/fixFlickering
sekmenhuseyin Apr 9, 2018
761de30
update dist
sekmenhuseyin Apr 9, 2018
6380794
v4.2.14 update
sekmenhuseyin Apr 9, 2018
c4f8b67
restore original event target correctly
axe-me Apr 25, 2018
92ee796
run gulp build
axe-me Apr 25, 2018
a26c6d9
Merge pull request #1201 from ShaneXie/bugfix/fix-event-target-restore
sekmenhuseyin Apr 30, 2018
0c41f7a
Update readme with CDN resources
rozzilla May 24, 2018
8c2c787
Merge pull request #1205 from rozzilla/patch-1
tbaltrushaitis May 25, 2018
80b5a47
Updates package.json
stevenwanderski Aug 3, 2018
89da106
Fixes broken links inside the slider - #1282
stevenwanderski May 22, 2024
1dd20dc
Updates version number in README
stevenwanderski May 22, 2024
6f2630d
Adds correct version number
stevenwanderski May 22, 2024
eb2e4d3
Bumps to v4.2.17
stevenwanderski May 22, 2024
ed3ac54
Removes old doc site
stevenwanderski May 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
jquery.bxslider.zip
jscs.report.txt
/docs/
/bower_components/
.DS_Store
/node_modules
jquery.bxslider.zip
npm-debug.log
118 changes: 118 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Contributing to this project

Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.


## Using the issue tracker

The issue tracker is the preferred channel for [bug reports](#bugs),
[features requests](#features) and [submitting pull
requests](#pull-requests), but please respect the following restrictions:

* Please **do not** use the issue tracker for personal support requests.

* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.


<a name="bugs"></a>
## Bug reports

A bug is a _demonstrable problem_ that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!

Guidelines for bug reports:

1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.

2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `master` or development branch in the repository.

3. **Isolate the problem** &mdash; make sure that the code in the repository is
_definitely_ responsible for the issue.

A good bug report shouldn't leave others needing to chase you up for more
information. Please try to be as detailed as possible in your report. Examples are
important, please try to provide them.


<a name="features"></a>
## Feature requests

Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
case to convince the developers of the merits of this feature. Please
provide as much detail and context as possible.


<a name="pull-requests"></a>
## Pull requests

Good pull requests - patches, improvements, new features - are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.

**Please ask first** before embarking on any significant pull request (e.g.
implementing features, refactoring code), otherwise you risk spending a lot of
time working on something that the developers might not want to merge into the
project.

Please adhere to the coding conventions used throughout the project (indentation,
comments, etc.).

Adhering to the following this process is the best way to get your work
merged:

1. [Fork](http://help.github.com/fork-a-repo/) the repo, clone your fork,
and configure the remotes:

```bash
# Clone your fork of the repo into the current directory
git clone https://github.com/<your-username>/<repo-name>
# Navigate to the newly cloned directory
cd <repo-name>
# Assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/<upsteam-owner>/<repo-name>
```

2. If you cloned a while ago, get the latest changes from upstream:

```bash
git checkout <dev-branch>
git pull upstream <dev-branch>
```

3. Create a new topic branch (off the main project development branch) to
contain your feature, change, or fix:

```bash
git checkout -b <topic-branch-name>
```

4. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.

5. Locally merge (or rebase) the upstream development branch into your topic branch:

```bash
git pull [--rebase] upstream <dev-branch>
```

6. Push your topic branch up to your fork:

```bash
git push origin <topic-branch-name>
```

10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.
65 changes: 65 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
var gulp = require('gulp')
var uglify = require('gulp-uglify');
var cssmin = require('gulp-cssmin');
var rename = require('gulp-rename');

gulp.task('js-minify', function (done) {
gulp.src('./src/js/jquery.bxslider.js')
.pipe(uglify({
preserveComments: 'license'
}))
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest('./dist'));
done();
});

gulp.task('js-copy-src', function (done) {
gulp.src('./src/js/jquery.bxslider.js')
.pipe(gulp.dest('./dist'));
done();
});

gulp.task('css-minify', function (done) {
gulp.src('./src/css/jquery.bxslider.css')
.pipe(cssmin())
.pipe(rename({ suffix: '.min' }))
.pipe(gulp.dest('./dist'));
done();
});

gulp.task('css-copy-src', function (done) {
gulp.src('./src/css/jquery.bxslider.css')
.pipe(gulp.dest('./dist'));
done();
});

gulp.task('vendor-copy-src', function (done) {
gulp.src('./src/vendor/*')
.pipe(gulp.dest('./dist/vendor'));
done();
});

gulp.task('images-copy-src', function (done) {
gulp.src('./src/images/*')
.pipe(gulp.dest('./dist/images'));
done();
});

gulp.task('docs-copy-src', function (done) {
gulp.src([
'./readme.md',
'./LICENSE.md'
])
.pipe(gulp.dest('./dist'));
done();
});

gulp.task('default', gulp.series(
'js-minify',
'js-copy-src',
'css-minify',
'css-copy-src',
'vendor-copy-src',
'images-copy-src',
'docs-copy-src'
));
12 changes: 12 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
License
-------

The MIT License (MIT)

Copyright © 2014 [Steven Wanderski](https://twitter.com/stevenwanderski)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 changes: 28 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "bxslider-4",
"homepage": "http://bxslider.com",
"license": "MIT",
"main": [
"dist/jquery.bxslider.js",
"dist/jquery.bxslider.css",
"dist/images/bx_loader.gif",
"dist/images/controls.png"
],
"ignore": [
"docs_src/*",
"docs/*"
],
"keywords": [
"bxslider",
"javascript",
"jquery",
"library"
],
"dependencies": {
"jquery": ">= 1.8.3"
},
"devDependencies": {
"bootstrap": ">= 3.3.2",
"highlightjs": "~8.4.0"
}
}
12 changes: 12 additions & 0 deletions dist/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
License
-------

The MIT License (MIT)

Copyright © 2014 [Steven Wanderski](https://twitter.com/stevenwanderski)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading