generators/jelly/templates/javascripts/jelly.js in honkster-jelly-0.8.9 vs generators/jelly/templates/javascripts/jelly.js in honkster-jelly-0.8.10

- old
+ new

@@ -1,10 +1,10 @@ /** * Jelly. a sweet unobtrusive javascript framework * for jQuery and Rails * - * version 0.8.9 + * version 0.8.10 * * Copyright (c) 2009 Pivotal Labs * Licensed under the MIT license. * * * Date: 2009-07-20 9:50:50 (Mon, 20 Jul 2009) @@ -39,10 +39,10 @@ var component = Jelly.Observers.evaluateComponent(definitionOrComponent.component); if (component.init) { var initReturnValue = component.init.apply(component, definitionOrComponent.arguments); if (initReturnValue === false || initReturnValue === null) { } else { - Jelly.Observers.pushIfObserver.call(this, component.init.apply(component, definitionOrComponent.arguments) || component); + Jelly.Observers.pushIfObserver.call(this, initReturnValue || component); } } else { Jelly.Observers.pushIfObserver.call(this, component); } } else {