Sha256: d23c2c30df76abfa7ac0f071ab82e0b7bd404a7144e6f47543bb40147e37fba5

Contents?: true

Size: 1.04 KB

Versions: 48

Compression:

Stored size: 1.04 KB

Contents

'use strict'

lazy_require = 'observable'
define [lazy_require], (observable) ->

  (authenticator, recoverer, base) ->

    authenticator: observable Object.create null,
      status:
        configurable: true
        get: -> authenticator.status
        set: (status) -> authenticator.status = status
      message:
        configurable: true
        get: -> authenticator.message
        set: (message) -> authenticator.message = message
      email:
        configurable: true
        set: (email) -> authenticator.email = email
        get: -> authenticator.email
      button_label:
        configurable: true
        set: (button_label) -> authenticator.button_label = button_label
        get: -> authenticator.button_label
      password:
        configurable: true
        set: (password) -> authenticator.password = password
        get: -> authenticator.password
      authenticate:
        configurable: true
        value: authenticator.authenticate

    # TODO split into two presenters
    recoverer: observable recoverer

    base: observable base

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
ende-0.5.2 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.24 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.23 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.5.1 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.22 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.21 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.5.0 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.20 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.19 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.18 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.17 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.16 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.15 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.14 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.13 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.12 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.11 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.10 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.9 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee
ende-0.4.8 lib/assets/javascripts/widgets/authenticator/presenter.js.coffee