Sha256: 9f7c7d84ed41ecbf65f28d609d6676dd902d7acb0d587aed1b8074762a2d99b7

Contents?: true

Size: 383 Bytes

Versions: 80

Compression:

Stored size: 383 Bytes

Contents

'use strict'
observable = require('observable').mixin

define (model) ->

  (model) ->

    
    # TODO create view_model
    modal: observable Object.create null,
      title:
        set: (title) -> model.title = title
        get: -> model.title
        configurable: true
      body:
        set: (body) -> model.body = body
        get: -> model.body
        configurable: true

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
ende-0.5.22 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.21 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.20 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.19 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.18 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.17 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.16 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.15 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.14 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.13 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.12 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.10 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.9 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.8 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.7 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.6 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.4.25 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.5 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.4 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.5.3 lib/assets/javascripts/widgets/dialog/presenter.js.coffee