```coffeescript
window.App ||= {}
class App.Base

  constructor: ->
    return this


  create: ->
    $this.new()
    return


  update: ->
    $this.edit()
    return```

Make sure new/edit exists before calling them on create/update.
user
```coffeescript
window.App ||= {}
class App.Base

  constructor: ->
    return this


  create: ->
    if typeof $this.new == 'function'
      return $this.new()


  update: ->
    if typeof $this.edit == 'function'
      return $this.edit()```
assistant