1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Callback is not called if it does not exists.

This commit is contained in:
kparagua 2012-12-20 13:56:10 +08:00
parent 0e7e45d048
commit 077883a0cd
4 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -13,6 +13,7 @@ capybara-*.html
/spec/tmp/*
*.gem
/spec/sample_app/log
/spec/sample_app/paloma_test
**.orig
rerun.txt
pickle-email-*.html

View file

@ -24,7 +24,7 @@
callbackFunction = Paloma.callbacks[callback.name];
console.log("Paloma: Fetching [" + callback.name + "]");
if (callback != undefined){
if (callbackFunction != undefined){
console.log("Paloma: Calling [" + callback.name + "]");
callbackFunction(callback.params);
}

View file

@ -1,9 +1,9 @@
Gem::Specification.new do |s|
s.name = 'paloma'
s.version = '0.0.2'
s.version = '0.0.4'
s.date = '2012-12-17'
s.summary = "Javascript Callback Manager for Rails"
s.description = "Javascript Callback Manager for Rails"
s.summary = "a sexy way to organize javascript files using Rails` asset pipeline"
s.description = "a sexy way to organize javascript files using Rails` asset pipeline"
s.authors = ["Karl Paragua", "Bia Esmero"]
s.email = 'kb.paragua@gmail.com'
s.files = `git ls-files`.split("\n")

Binary file not shown.