Skip to content

Commit

Permalink
added payload callback to onClose method
Browse files Browse the repository at this point in the history
  • Loading branch information
craftpip committed Aug 16, 2017
1 parent 7a78b25 commit 3ec8bbe
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### ![jquery-confirm](https://raw.githubusercontent.com/craftpip/jquery-confirm/master/jquery-confirm.png "jquery-confirm")
*alerts, confirms and dialogs in* ***one.***

v3.3.1
v3.3.2

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/bonifacepereira)

Expand All @@ -20,8 +20,8 @@ View Detailed [Documentation & Examples](http://craftpip.github.io/jquery-confir
Download the latest release [here](https://github.com/craftpip/jquery-confirm/archive/master.zip) and use the files within `dist` folder.

via CDN:
`<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.1/jquery-confirm.min.css">`
`<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.1/jquery-confirm.min.js"></script>`
`<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">`
`<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>`

via Bower:
`$ bower install craftpip/jquery-confirm`
Expand Down
2 changes: 1 addition & 1 deletion animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<link rel="stylesheet"
href="demo/demo.css">
<script>
var version = '3.3.1';
var version = '3.3.2';
</script>
<!-- Add the minified version of files from the /dist/ folder. -->
<!-- jquery-confirm files -->
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-confirm2",
"version": "3.3.1",
"version": "3.3.2",
"homepage": "https://github.com/craftpip/jquery-confirm",
"authors": [
"boniface pereira <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion css/jquery-confirm.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.3.1 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.3.2 (http://craftpip.github.io/jquery-confirm/)
* Author: boniface pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion css/jquery-confirm.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.3.1 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.3.2 (http://craftpip.github.io/jquery-confirm/)
* Author: boniface pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery-confirm.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/jquery-confirm.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<link rel="stylesheet"
href="demo/demo.css">
<script>
var version = '3.3.1';
var version = '3.3.2';
</script>
<!-- Add the minified version of files from the /dist/ folder. -->
<!-- jquery-confirm files -->
Expand Down Expand Up @@ -225,8 +225,8 @@
<div class="row download-btns">
<div class="col-md-12">
<div style="height: 15px;"></div>
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.3.1/jquery-confirm-v3.3.1.zip"
class="btn btn-lg">Download v3.3.1
<a href="https://github.com/craftpip/jquery-confirm/releases/download/v3.3.2/jquery-confirm-v3.3.2.zip"
class="btn btn-lg">Download v3.3.2
</a>
<a href="https://github.com/craftpip/jquery-confirm"
class="btn btn-lg"><i class="fa fa-github"></i> View on GitHub
Expand Down Expand Up @@ -993,7 +993,7 @@ <h2>Themes</h2>
</section>

<section id="whats-new">
<h2>Whats new <span style="color: #aaa">in v3.3.1</span></h2>
<h2>Whats new <span style="color: #aaa">in v3.3.2</span></h2>
<p>
Major changes
</p>
Expand Down Expand Up @@ -1045,8 +1045,8 @@ <h3 id="installation">

<p>
<strong>via CDN:</strong>
<pre class="prettyprint"><code class="html">&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.1/jquery-confirm.min.css"&gt;
&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.1/jquery-confirm.min.js"&gt;&lt;/script&gt;</code></pre>
<pre class="prettyprint"><code class="html">&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css"&gt;
&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"&gt;&lt;/script&gt;</code></pre>
</p>

<p>
Expand Down
6 changes: 3 additions & 3 deletions js/jquery-confirm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* jquery-confirm v3.3.1 (http://craftpip.github.io/jquery-confirm/)
* jquery-confirm v3.3.2 (http://craftpip.github.io/jquery-confirm/)
* Author: Boniface Pereira
* Website: www.craftpip.com
* Contact: [email protected]
Expand Down Expand Up @@ -1026,11 +1026,11 @@ var jconfirm, Jconfirm;
_unwatchContent: function () {
clearInterval(this._timer);
},
close: function () {
close: function (onClosePayload) {
var that = this;

if (typeof this.onClose === 'function')
this.onClose();
this.onClose(onClosePayload);

this._unwatchContent();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-confirm",
"version": "3.3.1",
"version": "3.3.2",
"title": "jquery-confirm.js | A multipurpose alert and confirm plugin",
"description": "A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.",
"homepage": "http://craftpip.github.io/jquery-confirm/",
Expand Down
2 changes: 1 addition & 1 deletion themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<link rel="stylesheet"
href="demo/demo.css">
<script>
var version = '3.3.1';
var version = '3.3.2';
</script>
<!-- Add the minified version of files from the /dist/ folder. -->
<!-- jquery-confirm files -->
Expand Down

0 comments on commit 3ec8bbe

Please sign in to comment.