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.3.1 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.3.0 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.21 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.20 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.19 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.18 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.17 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.16 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.15 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.14 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.13 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.12 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.11 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.10 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.9 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.8 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.7 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.6 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.5 lib/assets/javascripts/widgets/dialog/presenter.js.coffee
ende-0.2.4 lib/assets/javascripts/widgets/dialog/presenter.js.coffee