eyeballs 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ Tue Jul 27
2
+ - - - - - -
3
+ - Event Delegation bug causing the default bit not to return false
4
+
1
5
  Sat Jul 17
2
6
  - - - - - -
3
7
  - Remove data-controller data-action stuff. "data-bind" is way better.
data/Rakefile CHANGED
@@ -27,7 +27,7 @@ begin
27
27
  require 'jeweler'
28
28
  Jeweler::Tasks.new do |s|
29
29
  s.name = "eyeballs"
30
- s.version = "0.5.1"
30
+ s.version = "0.5.2"
31
31
  s.author = "Paul Campbell"
32
32
  s.email = "paul@rslw.com"
33
33
  s.homepage = "http://www.github.com/paulca/eyeballs.js"
data/TODO CHANGED
@@ -1,2 +1,6 @@
1
1
  - alert_errors
2
- - Rails helper to automatically include "data-attributes"
2
+ - Rails helper to automatically include "data-attributes"
3
+ - offline mode
4
+ - WebSQL
5
+ - undo
6
+ - server side error callback
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{eyeballs}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Campbell"]
12
- s.date = %q{2010-07-17}
12
+ s.date = %q{2010-07-27}
13
13
  s.default_executable = %q{eyeballs}
14
14
  s.email = %q{paul@rslw.com}
15
15
  s.executables = ["eyeballs"]
@@ -32,11 +32,15 @@ o_O.controller = {
32
32
  var this_action = parts[7];
33
33
  if(this_controller_name == controller_name && this_action_event === event.type)
34
34
  {
35
- controller[this_action].apply(this);
36
35
  if(default_bit != '+')
37
36
  {
37
+ controller[this_action].apply(this);
38
38
  return false;
39
39
  }
40
+ else
41
+ {
42
+ return controller[this_action].apply(this);
43
+ }
40
44
  }
41
45
  }
42
46
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyeballs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul Campbell
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-17 00:00:00 +01:00
18
+ date: 2010-07-27 00:00:00 +01:00
19
19
  default_executable: eyeballs
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency