app/assets/javascripts/joosy/core/layout.js.coffee in joosy-1.0.0.RC7 vs app/assets/javascripts/joosy/core/layout.js.coffee in joosy-1.1.0.alpha.1

- old
+ new

@@ -43,11 +43,11 @@ # # @note Given method will be called with `complete` function as parameter. As soon as your # preparations are done you should call that function. # # @example Sample before painter - # @beforePaint (complete) -> + # @beforePaint (container, page, complete) -> # if !@data # checks if parallel fetching finished # $('preloader').slideDown -> complete() # # @beforePaint: (callback) -> @@ -61,11 +61,11 @@ # # @note Given method will be called with `complete` function as parameter. As soon as your # preparations are done you should call that function. # # @example Sample painter - # @paint (complete) -> + # @paint (container, page, complete) -> # @container.fadeIn -> complete() # @paint: (callback) -> @::__paint = callback @@ -79,10 +79,10 @@ # # @note This method will be caled _before_ unload routines so in theory you can # access layout data from that. Think twice if you are doing it right though. # # @example Sample eraser - # @erase (complete) -> + # @erase (container, page, complete) -> # @container.fadeOut -> complete() # @erase: (callback) -> @::__erase = callback