Sha256: 5db97b2c4502516db697824b5f5f65e943d22d78737828b378cd540ed1c77b57

Contents?: true

Size: 226 Bytes

Versions: 3

Compression:

Stored size: 226 Bytes

Contents

class <%= js_application_name %>.MainIndexView extends Batman.View
  resetName: ->
    @controller.set('firstName', '')
    @controller.set('lastName', '')

  @accessor 'hasName', ->
    @controller.get('fullName').length > 1

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
batman-rails-0.16.1 lib/templates/batman/main_index_view.coffee
batman-rails-0.16.0 lib/templates/batman/main_index_view.coffee
batman-rails-0.15.4 lib/templates/batman/main_index_view.coffee