Sha256: 806565a59daf0aae6b2443748f16647e4220d133801973a3052d9e3710d6daf9
Contents?: true
Size: 761 Bytes
Versions: 45
Compression:
Stored size: 761 Bytes
Contents
'use strict' # TODO finish this extension # TODO initialize dependent extensions define 'aura/extensions/widget/presentable', ['advisable'], -> presentable = constructor: (options) -> presentable.super.constructor.call @, options @after 'initialized', => @presenter?.sandbox = @sandbox present: (models...) -> @presentation = @presenter models: models, sandbox: @sandbox @bind @$el, @presentation version: '0.1.0' initialize: (application) -> {core} = application # Add support for element removal after stoping widget # TODO replace Base.extend inheritance to stampit composition core.Widgets.Base = core.Widgets.Base.extend presentable presentable.super = core.Widgets.Base.__super__
Version data entries
45 entries across 45 versions & 1 rubygems