     _renderDom: (data) ->
       @$el?.html(@template?(data) or @template)
 
+    # Update page title
+    updateTitle: () ->
+      if @pageTitle
+        document.title = settings.titlePrefix + @pageTitle
+
     _render: () ->
       data = @model?.toJSON() or @collection?.toJSON() or {}
 

          else
            data[key] = value

      @_renderDom(data)

    render: () ->

  $ = require('jquery')
  _ = require('underscore')
  Backbone = require('backbone')
  settings = require('cs!settings')

  class Region
    constructor: (el, parent) ->
