abracadabra 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 025f02f748f449835b124aa15061c474a691f58e
4
- data.tar.gz: 30de840217af8e49fbe7880668798fe8090cad62
3
+ metadata.gz: a78ed87b152d2758f31497d0ddaf36ac70b8180a
4
+ data.tar.gz: dfe81afb7c1d8b5c4ddfce49b975621109e669de
5
5
  SHA512:
6
- metadata.gz: c9a2e9dc647d8c1e2ad27cc6b93aa35836408307bd124dc591b46b55e6cc0bcd7f1fda5f96171ecd158bb294d96615acf3fbf7a69a869263330aed1a59c969d4
7
- data.tar.gz: cd5a2bb60ac2171620725ccd8ef586e621ec57816226ddbf7f07854f9e8079dfce46e76e405d2ff369eef03bbe5e3c3f220e785301db1e8242572b4619180071
6
+ metadata.gz: f9b249bbfd9eef6ef25f82fff7e239fe533ca29416a11fb481406b340d95c1bd61d2dc119ba3ac4cb412dc6df6fd9571edcea6bc1133780d688c6d5d89437ccf
7
+ data.tar.gz: ba544aa1215c8756ef7490c0109c1bde5a61c05952c2cbb5a55e7a9c27f233ed05d3aac416ac6d19d5a6e233ca19484260eb4045e33e72f2bd4a6d7043bf7599
@@ -52,9 +52,7 @@ $(function() {
52
52
 
53
53
  $("body").on("submit", ".abracadabra-form", function(e) {
54
54
  if(abracadabraSubmissionInProgress == true || abracadabraEscapeKeydown == true) {
55
- console.log(abracadabraEscapeKeydown)
56
55
  e.preventDefault();
57
- abracadabraEscapeKeydown = false;
58
56
  return false;
59
57
  }
60
58
  abracadabraSubmissionInProgress = true;
@@ -123,6 +121,7 @@ $(function() {
123
121
  e.preventDefault();
124
122
  if(abracadabraSubmissionInProgress == false) {
125
123
  closeAbracadabra(this, false, false);
124
+ abracadabraEscapeKeydown = false;
126
125
  }
127
126
  }
128
127
  /* /Press Escape to cancel */
@@ -1,5 +1,5 @@
1
1
  module Abracadabra
2
2
  module Rails
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
@@ -12,5 +12,5 @@
12
12
  //
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
- //= require turbolinks
16
- //= require_tree .
15
+ //= require abracadabra
16
+ //= require_self
@@ -8,6 +8,6 @@
8
8
  * You're free to add application-wide styles to this file and they'll appear at the top of the
9
9
  * compiled file, but it's generally better to create a new file per style scope.
10
10
  *
11
+ *= require abracadabra
11
12
  *= require_self
12
- *= require_tree .
13
13
  */
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Dummy</title>
5
- <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6
- <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
5
+ <%= stylesheet_link_tag "application", media: "all" %>
6
+ <%= javascript_include_tag "application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abracadabra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trevor Hinesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-13 00:00:00.000000000 Z
11
+ date: 2014-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails