app/assets/javascripts/joosy/core/page.js.coffee in joosy-1.0.0.RC1 vs app/assets/javascripts/joosy/core/page.js.coffee in joosy-1.0.0.RC2

- old
+ new

@@ -129,10 +129,12 @@ # @example Basic usage # @fetch (complete) -> # $.get '/rumbas', (@data) => complete() # @fetch: (callback) -> - @::__fetch = callback + @::__fetch = (complete) -> + @data = {} + callback.call(this, complete) # # Sets the several separate methods that will fetch data in parallel. # # @note This will work through {Joosy.Modules.Events.synchronize}