Skip to content

Commit 9aa8a1e

Browse files
committed
version bump to v3.1.0
1 parent 9e7d4f4 commit 9aa8a1e

11 files changed

+49
-27
lines changed

README.md

Lines changed: 1 addition & 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.3
4+
v3.1.0
55

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

animations.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<link rel="stylesheet"
6161
href="demo/demo.css">
6262
<script>
63-
var version = '3.0.3';
63+
var version = '3.1.0';
6464
</script>
6565
<!-- Add the minified version of files from the /dist/ folder. -->
6666
<!-- 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.3">v3.0.3</a>
117+
</li>
115118
<li>
116119
<a href="http://craftpip.github.io/jquery-confirm/v3.0.1">v3.0.1</a>
117120
</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.3",
3+
"version": "3.1.0",
44
"homepage": "https://github.com/craftpip/jquery-confirm",
55
"authors": [
66
"boniface pereira <[email protected]>"

css/jquery-confirm.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* jquery-confirm v3.0.3 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.1.0 (http://craftpip.github.io/jquery-confirm/)
33
* Author: boniface pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]
66
*
7-
* Copyright 2013-2016 jquery-confirm
7+
* Copyright 2013-2017 jquery-confirm
88
* Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
99
*/
1010
@-webkit-keyframes jconfirm-spin {

css/jquery-confirm.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* jquery-confirm v3.0.3 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.1.0 (http://craftpip.github.io/jquery-confirm/)
33
* Author: boniface pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]
66
*
7-
* Copyright 2013-2016 jquery-confirm
7+
* Copyright 2013-2017 jquery-confirm
88
* Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
99
*/
1010
@blue: #3498db;

dist/jquery-confirm.min.css

Lines changed: 3 additions & 3 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: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<link rel="stylesheet"
6161
href="demo/demo.css">
6262
<script>
63-
var version = '3.0.3';
63+
var version = '3.1.0';
6464
</script>
6565
<!-- Add the minified version of files from the /dist/ folder. -->
6666
<!-- jquery-confirm files -->
@@ -114,6 +114,9 @@
114114
<span class="caret"></span>
115115
</a>
116116
<ul class="dropdown-menu">
117+
<li>
118+
<a href="http://craftpip.github.io/jquery-confirm/v3.0.3">v3.0.3</a>
119+
</li>
117120
<li>
118121
<a href="http://craftpip.github.io/jquery-confirm/v3.0.1">v3.0.1</a>
119122
</li>
@@ -213,7 +216,7 @@
213216
<div class="col-md-12">
214217
<div style="height: 15px;"></div>
215218
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.0.3/jquery-confirm-v3.0.3.zip"
216-
class="btn btn-lg">Download v3.0.3
219+
class="btn btn-lg">Download v3.1.0
217220
</a>
218221
<a href="https://github.com/craftpip/jquery-confirm"
219222
class="btn btn-lg"><i class="fa fa-github"></i> View on GitHub
@@ -565,6 +568,12 @@ <h2>Features</h2>
565568
<p class="text-success">Clean animations</p>
566569
</div>
567570
</div>
571+
<div class="row">
572+
<div class="col-md-3">
573+
<button class="btn btn-primary btn-block example-p-7-2">Draggable</button>
574+
<p class="text-success">Drag me around</p>
575+
</div>
576+
</div>
568577
<script type="text/javascript">
569578
// alert
570579
$('.example-p-1').on('click', function () {
@@ -861,17 +870,24 @@ <h2>Features</h2>
861870
},
862871
});
863872
});
873+
874+
$('.example-p-7-2').on('click', function () {
875+
$.alert({
876+
title: 'A draggable dialog',
877+
content: 'This dialog is draggable, use the title to drag it around. It wont touch the screen borders',
878+
type: 'blue',
879+
draggable: true,
880+
});
881+
})
864882
</script>
865883
</section>
866884

867885
<section>
868-
<h2>Whats new <span style="color: #aaa">in v3.0.3</span></h2>
886+
<h2>Whats new <span style="color: #aaa">in v3.1.0</span></h2>
869887
<ul>
870-
<li>Support for namespaced bootstrap classes</li>
871-
<li>Jconfirm can be used without bootstrap</li>
872-
<li>Added type for modals (green/success, red/failure, orange/warning, etc)</li>
873-
<li>Added setType method</li>
874-
<li>bug fixes</li>
888+
<li>Support for bootstrap v4</li>
889+
<li>Draggable dialogs</li>
890+
<li>Added options animateScrollToElement, alignMiddle, offsetTop, drawWindowGap and more</li>
875891
</ul>
876892
</section>
877893

@@ -897,8 +913,8 @@ <h3 id="installation">
897913

898914
<p>
899915
<strong>via CDN:</strong>
900-
<pre class="prettyprint"><code class="html">&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.0.3/jquery-confirm.min.css"&gt;
901-
&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.0.3/jquery-confirm.min.js"&gt;&lt;/script&gt;</code></pre>
916+
<pre class="prettyprint"><code class="html">&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.1.0/jquery-confirm.min.css"&gt;
917+
&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.1.0/jquery-confirm.min.js"&gt;&lt;/script&gt;</code></pre>
902918
</p>
903919

904920
<p>

js/jquery-confirm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*!
2-
* jquery-confirm v3.0.3 (http://craftpip.github.io/jquery-confirm/)
2+
* jquery-confirm v3.1.0 (http://craftpip.github.io/jquery-confirm/)
33
* Author: Boniface Pereira
44
* Website: www.craftpip.com
55
* Contact: [email protected]
66
*
7-
* Copyright 2013-2016 jquery-confirm
7+
* Copyright 2013-2017 jquery-confirm
88
* Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
99
*/
1010

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.3",
3+
"version": "3.1.0",
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)