Sha256: 84b22f739e197218872a08ddd86d7b6c7b364fbfd5f66a6af4f52d4ea4e02663
Contents?: true
Size: 938 Bytes
Versions: 7
Compression:
Stored size: 938 Bytes
Contents
Luca.concerns.EnhancedProperties = __initializer: ()-> return unless Luca.config.enhancedViewProperties is true # The @collection property. # # If the @collection property is a string, then upon initialization # of the view, that @collection property will be swapped out # with the instance of the collection of that name in the main # Luca.CollectionManager if _.isString(@collection) and Luca.CollectionManager.get() @collection = Luca.CollectionManager.get().getOrCreate(@collection) # The @template property. # # For simple views which only need a template, you can specify the # template by its name, and we will render it for you. if @template? @$template(@template, @) # The @collectionManager property is also configurable by string if _.isString( @collectionManager ) @collectionManager = Luca.CollectionManager.get( @collectionManager )
Version data entries
7 entries across 7 versions & 1 rubygems