Skip to content

Instantly share code, notes, and snippets.

@kosmikko
Created June 30, 2012 14:17
Show Gist options
  • Select an option

  • Save kosmikko/3023904 to your computer and use it in GitHub Desktop.

Select an option

Save kosmikko/3023904 to your computer and use it in GitHub Desktop.
Extending Chaplin views
define [
'underscore'
'chaplin/views/view'
'app/views/base_extensions'
], (_, ChaplinView, BaseExtensions) ->
class BaseView extends ChaplinView
_(@prototype).extend BaseExtensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment