apprise-me 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/apprise-me/version.rb +1 -1
- data/lib/assets/javascripts/apprise-me.js +3 -1
- metadata +3 -3
data/lib/apprise-me/version.rb
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
(function( $ ) {
|
4
4
|
$.fn.appriseConfirm = function(options) {
|
5
|
+
if (options == undefined)
|
6
|
+
options = {}
|
5
7
|
defaultAppriseOptions = options;
|
6
8
|
|
7
9
|
this.click(function(event) {
|
@@ -25,7 +27,7 @@
|
|
25
27
|
apprise(message, appriseOptions, function(r){
|
26
28
|
if (r) { $.rails.handleMethod($linkToVerify) }
|
27
29
|
})
|
28
|
-
|
30
|
+
|
29
31
|
event.preventDefault();
|
30
32
|
return false;
|
31
33
|
});
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apprise-me
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Colvin
|