evil-front 0.3.4 → 0.3.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba55945f1cb274a3d38c7f889d313003b655183a
|
4
|
+
data.tar.gz: 178093d89c225102612fed3db08386c6509d1384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d1e7166034f87df59b88da4f62add0c30900d102bc06f5320a0a4112da16c91ca749869a541df9193216f225a8833b6b4a0ff82dd25e60ebf770d86e2402da
|
7
|
+
data.tar.gz: d212df5fee7afd603674eba0cd6cc471944badd250d5aec0d45ee953b7078a9a14a8610158f817aaf3807edd530d064f5f565e51e50cd0f6be38ec94dcf26643
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
//= evil-front/jquery
|
2
2
|
|
3
3
|
// Change selected form to be sent by AJAX.
|
4
|
+
// It returns jQuery node of form for chains.
|
4
5
|
//
|
5
6
|
// $('form').evil.ajax
|
6
7
|
// success: -> message('success')
|
@@ -13,7 +14,7 @@ evil.$.extend('ajax', function (opts) {
|
|
13
14
|
opts = { };
|
14
15
|
}
|
15
16
|
|
16
|
-
this.submit(function (event) {
|
17
|
+
return this.submit(function (event) {
|
17
18
|
if ( event.isPropagationStopped() ) {
|
18
19
|
return false;
|
19
20
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
//= require evil-front/jquery
|
2
2
|
|
3
3
|
// Add events to add special class on touch events. It will much faster, than
|
4
|
-
// `:hover` selector.
|
4
|
+
// `:hover` selector. It returns jQuery node of element for chains.
|
5
5
|
//
|
6
6
|
// By default it add listener to all links and inputs on body.
|
7
7
|
// But you can add it to any elements:
|
@@ -37,6 +37,7 @@
|
|
37
37
|
this.on('touchstart', start);
|
38
38
|
this.on('touchend touchmove', end);
|
39
39
|
}
|
40
|
+
return this;
|
40
41
|
}
|
41
42
|
});
|
42
43
|
|
data/lib/evil-front/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evil-front
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Sitnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|