Sha256: fb85c368ddecc98044184128ede8ed9f4b523a710fea72dbf5a438dec01bf711

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

# The JavascriptGeneratorMethods are added so they can be used within RJS blocks
# and `render :update` blocks.
# 
# @private
module Skyline::JavascriptGeneratorMethods
  def message(type,message,options={})
    record Skyline::MessageGenerator.new(type,message,options={})
  end
  
  def notification(type,message,options={})
    record Skyline::MessageGenerator.new(type,message,options={})    
  end  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
westarete-skylinecms-3.0.8.20100329 lib/skyline/javascript_generator_methods.rb
westarete-skylinecms-3.0.8.20100330 lib/skyline/javascript_generator_methods.rb
skylinecms-3.0.8 lib/skyline/javascript_generator_methods.rb
skylinecms-3.0.7 lib/skyline/javascript_generator_methods.rb