Skip to content

Commit 9e58451

Browse files
committed
bumped version to 3.0.1
1 parent 9d67150 commit 9e58451

File tree

11 files changed

+49
-20
lines changed

11 files changed

+49
-20
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### ![jquery-confirm](https://raw.githubusercontent.com/craftpip/jquery-confirm/master/jquery-confirm.png "jquery-confirm")
22
*alerts, confirms and dialogs in* ***one.***
33

4-
v3.0.0
4+
v3.0.1
55

66
A multipurpose plugin for alert, confirm & dialog, with Super powers.
77

@@ -62,6 +62,13 @@ The `$.alert()` , `$.confirm()` & `$.dialog()` are alias of `jconfirm();`.
6262
Checkout the [documentation](http://craftpip.github.io/jquery-confirm) for further information.
6363

6464
## Version changes
65+
66+
(new in 3.0.1)
67+
* Removed bootstrap as dependency
68+
* Added dialog type to identify success, failure, etc.
69+
* Animate scroll to previous focused element
70+
* titleClass option added
71+
6572
(New in 3.0.0) **no backwards compatible with v2.**
6673
* Define multiple buttons
6774
* Define keyboard keys for individual buttons

animations.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<link rel="stylesheet"
5959
href="demo/demo.css">
6060
<script>
61-
var version = '3.0.0';
61+
var version = '3.0.1';
6262
</script>
6363
<!-- Add the minified version of files from the /dist/ folder. -->
6464
<!-- jquery-confirm files -->
@@ -110,6 +110,9 @@
110110
<span class="caret"></span>
111111
</a>
112112
<ul class="dropdown-menu">
113+
<li>
114+
<a href="http://craftpip.github.io/jquery-confirm/v3.0.0">v3.0.0</a>
115+
</li>
113116
<li>
114117
<a href="http://craftpip.github.io/jquery-confirm/v2.5.1">v2.5.1</a>
115118
</li>

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-confirm2",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"homepage": "https://github.com/craftpip/jquery-confirm",
55
"authors": [
66
"boniface pereira <[email protected]>"

css/jquery-confirm.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
33
* Author: boniface pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]

css/jquery-confirm.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
33
* Author: boniface pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]

dist/jquery-confirm.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery-confirm.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<link rel="stylesheet"
5959
href="demo/demo.css">
6060
<script>
61-
var version = '3.0.0';
61+
var version = '3.0.1';
6262
</script>
6363
<!-- Add the minified version of files from the /dist/ folder. -->
6464
<!-- jquery-confirm files -->
@@ -112,6 +112,9 @@
112112
<span class="caret"></span>
113113
</a>
114114
<ul class="dropdown-menu">
115+
<li>
116+
<a href="http://craftpip.github.io/jquery-confirm/v3.0.0">v3.0.0</a>
117+
</li>
115118
<li>
116119
<a href="http://craftpip.github.io/jquery-confirm/v2.5.1">v2.5.1</a>
117120
</li>
@@ -204,8 +207,8 @@
204207
<div class="row download-btns">
205208
<div class="col-md-12">
206209
<div style="height: 15px;"></div>
207-
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.0/jquery-confirm-v3.0.0.zip"
208-
class="btn btn-lg">Download v3
210+
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.1/jquery-confirm-v3.0.1.zip"
211+
class="btn btn-lg">Download v3.0.1
209212
</a>
210213
<a href="https://github.com/craftpip/jquery-confirm"
211214
class="btn btn-lg"><i class="fa fa-github"></i> View on GitHub
@@ -463,16 +466,20 @@ <h2>Features</h2>
463466
<button class="btn btn-primary btn-block example-p-2">Confirmation</button>
464467
<p class="text-success">Stacked Confirmations</p>
465468
</div>
469+
<div class="col-md-3">
470+
<button class="btn btn-primary btn-block example-p-70-type">Alert types</button>
471+
<p class="text-success">Success, error, warning</p>
472+
</div>
466473
<div class="col-md-3">
467474
<button class="btn btn-primary btn-block example-p-7-1">Prompt</button>
468475
<p class="text-success">Need input?</p>
469476
</div>
477+
</div>
478+
<div class="row">
470479
<div class="col-md-3">
471480
<button class="btn btn-primary btn-block example-p-4">Dialogs</button>
472481
<p class="text-success">Its also a Dialog.</p>
473482
</div>
474-
</div>
475-
<div class="row">
476483
<div class="col-md-3">
477484
<button class="btn btn-primary btn-block example-p-3">Background dismiss</button>
478485
<p class="text-success">Not so important modal</p>
@@ -485,12 +492,12 @@ <h2>Features</h2>
485492
<button class="btn btn-primary btn-block example-p-6">Auto-close</button>
486493
<p class="text-success">Some actions maybe critical</p>
487494
</div>
495+
</div>
496+
<div class="row">
488497
<div class="col-md-3">
489498
<button class="btn btn-primary btn-block example-p-7">Keystrokes</button>
490499
<p class="text-success">Responds to keystrokes</p>
491500
</div>
492-
</div>
493-
<div class="row">
494501
<div class="col-md-3">
495502
<button class="btn btn-primary btn-block example-pc-1">Alignment</button>
496503
<p class="text-success">Automatically centered</p>
@@ -597,6 +604,15 @@ <h2>Features</h2>
597604
});
598605
});
599606

607+
// alert types
608+
$('.example-p-70-type').on('click', function () {
609+
$.alert({
610+
title: 'Oh no',
611+
type: 'red',
612+
content: 'Something bad, bad happened.',
613+
});
614+
});
615+
600616
// background dismiss
601617
$('.example-p-3').on('click', function () {
602618
$.alert({
@@ -767,7 +783,6 @@ <h2>Features</h2>
767783
});
768784

769785
// animations
770-
// todo: im here
771786
$(' .example-pc-3').on('click', function () {
772787
$.alert({
773788
title: 'Animations',
@@ -800,7 +815,8 @@ <h2>Features</h2>
800815
<h2>Whats new <span style="color: #aaa">in v3.0.1</span></h2>
801816
<ul>
802817
<li>Support for namespaced bootstrap classes</li>
803-
<li>Using bootstrap is an option now</li>
818+
<li>Jconfirm can be used without bootstrap</li>
819+
<li>Added type for modals (green/success, red/failure, orange/warning, etc)</li>
804820
</ul>
805821
</section>
806822

js/jquery-confirm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* jquery-confirm v3.0.0 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.0.1 (http://craftpip.github.io/jquery-confirm/)
33
* Author: Boniface Pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-confirm",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"title": "jquery-confirm.js | A multipurpose alert and confirm plugin",
55
"description": "A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.",
66
"homepage": "http://craftpip.github.io/jquery-confirm/",

0 commit comments

Comments
 (0)