honkster-jelly 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -25,7 +25,7 @@ end
|
|
25
25
|
begin
|
26
26
|
require 'jeweler'
|
27
27
|
Jeweler::Tasks.new do |gemspec|
|
28
|
-
|
28
|
+
gemspec.name = ENV["GEM_PREFIX"] ? "#{ENV["GEM_PREFIX"]}-jelly" : "jelly"
|
29
29
|
gemspec.summary = "a sweet unobtrusive javascript framework for jQuery and Rails"
|
30
30
|
gemspec.description = "Jelly provides a set of tools and conventions for creating rich ajax/javascript web applications with jQuery and Ruby on Rails."
|
31
31
|
gemspec.email = "opensource@pivotallabs.com"
|
data/VERSION.yml
CHANGED
@@ -22,7 +22,9 @@ if(!window.Jelly) Jelly = new Object();
|
|
22
22
|
return $.extend({
|
23
23
|
dataType: 'json',
|
24
24
|
cache: false,
|
25
|
-
success :
|
25
|
+
success : $.ajaxWithJelly.onSuccess
|
26
26
|
}, otherParams);
|
27
27
|
};
|
28
|
+
|
29
|
+
$.ajaxWithJelly.onSuccess = Jelly.notifyObservers.bind(Jelly);
|
28
30
|
})(jQuery);
|