mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
1.2.6 - hook script not appended on response when js_callback(false)
This commit is contained in:
parent
e764f4a653
commit
91968e54e6
6 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
Changelog
|
Changelog
|
||||||
=
|
=
|
||||||
|
|
||||||
|
Version 1.2.6
|
||||||
|
-
|
||||||
|
* Paloma hook script is not appended on the response when `false` is passed to `js_callback`
|
||||||
|
|
||||||
Version 1.2.0
|
Version 1.2.0
|
||||||
-
|
-
|
||||||
* AddGenerator with multiple actions: `rails g paloma:add namespace/controller action1 action2 action3`
|
* AddGenerator with multiple actions: `rails g paloma:add namespace/controller action1 action2 action3`
|
||||||
|
|
|
@ -18,6 +18,8 @@ module Paloma
|
||||||
|
|
||||||
|
|
||||||
def update_callback
|
def update_callback
|
||||||
|
return clear_callbacks if @__callback__.nil?
|
||||||
|
|
||||||
add_to_callbacks @__callback__, @__js_params__
|
add_to_callbacks @__callback__, @__js_params__
|
||||||
|
|
||||||
paloma_txt = view_context.render(
|
paloma_txt = view_context.render(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = 'paloma'
|
s.name = 'paloma'
|
||||||
s.version = '1.2.5'
|
s.version = '1.2.6'
|
||||||
s.summary = "Provides an easy way to execute page-specific javascript for Rails."
|
s.summary = "Provides an easy way to execute page-specific javascript for Rails."
|
||||||
s.description = "Page-specific javascript for Rails done right"
|
s.description = "Page-specific javascript for Rails done right"
|
||||||
s.authors = ["Karl Paragua", "Bia Esmero"]
|
s.authors = ["Karl Paragua", "Bia Esmero"]
|
||||||
|
|
4
spec/test_app/log/development.log
Normal file
4
spec/test_app/log/development.log
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/assets/rails.png" for 127.0.0.1 at 2013-02-21 18:47:46 +0800
|
||||||
|
Served asset /rails.png - 200 OK (5ms)
|
BIN
spec/test_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
vendored
Normal file
BIN
spec/test_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
vendored
Normal file
Binary file not shown.
BIN
spec/test_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
vendored
Normal file
BIN
spec/test_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue