Sha256: 359169a6d24d927064cc4e21c742f7cdc3ea0c131d2e0569e31920435f41b83f

Contents?: true

Size: 417 Bytes

Versions: 28

Compression:

Stored size: 417 Bytes

Contents

'use strict'

# TODO implement default presenter
# define ['aura/presenterable'], (presenterable) ->
#  presenterable()
# TODO move observable to requirejs
observable = require('observable').mixin

define ['stampit/stampit'], (stampit) ->

  itemable = stampit().enclose -> observable @

  viewer   = (items) ->
    observable items: _.map items, itemable

  (items) ->

    presentation =
      viewer: viewer items

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ende-0.2.15 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.14 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.13 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.12 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.11 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.10 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.9 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee
ende-0.2.8 lib/assets/javascripts/widgets/viewer/presenters/default.js.coffee