edifice 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Edifice
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -94,17 +94,19 @@ jQuery.noConflict();
94
94
  });
95
95
 
96
96
  //after every ajax request
97
- $(window).bind('ajaxComplete', function(event, request) {
98
- ajax_hookup('onAjaxComplete', request);
99
- page_level_hookup('onAjaxComplete');
100
- $.attach_widgets();
101
- ajax_hookup('onWidgetsReady', request);
102
- page_level_hookup('onWidgetsReady');
103
- $(document).trigger('widgetsReady');
97
+ $(function() {
98
+ $('body').ajaxComplete(function(event, request) {
99
+ ajax_hookup('onAjaxComplete', request);
100
+ page_level_hookup('onAjaxComplete');
101
+ $.attach_widgets();
102
+ ajax_hookup('onWidgetsReady', request);
103
+ page_level_hookup('onWidgetsReady');
104
+ $(document).trigger('widgetsReady');
105
+ });
104
106
  });
105
107
 
106
108
 
107
- // *********** EDIFACE WIDGET CODE *********** //
109
+ // *********** EDIFICE WIDGET CODE *********** //
108
110
 
109
111
  /**
110
112
  @name $.edifice_widgets
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edifice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Coleman
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-15 00:00:00 +11:00
20
+ date: 2011-06-06 00:00:00 +10:00
21
21
  default_executable:
22
22
  dependencies: []
23
23