module QuietPrototype

File

quiet_prototype.rb

(C)

Hipposoft 2009

Purpose

Only include Prototype and Scriptaculous components if a view requires them.


09-Apr-2009 (ADH): Created.
18-Jul-2013 (ADH): Local modifications for TrackRecord with
                   the Rails asset pipeline.

Public Class Methods

included( base ) click to toggle source

Add in the class methods and establish the helper calls when the module gets included.

# File lib/quiet_prototype/quiet_prototype.rb, line 31
def self.included( base )
  base.extend( ClassMethods )
  base.helper( QuietPrototypeHelper )
end