Sha256: 5f93b13f5a35df178bde61f0d6d13fec835cb740d2a3d7581d5380eb225d9ef4
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
class App.View constructor: (context, locals) -> @[key] = value for key, value of context @[key] = value for key, value of locals config: (name) -> App.Config[name] ViewMethods = view: (path, locals) -> if "function" is typeof JST["javascripts/app/views/#{path}"] JST["javascripts/app/views/#{path}"](new App.View(@, locals)) else JST["app/views/#{path}"](new App.View(@, locals)) Spine.Controller.include ViewMethods Panel.include ViewMethods Stage.include ViewMethods
Version data entries
4 entries across 4 versions & 1 rubygems