Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.369 kb
@App =
Models: {}
Views: {}
Controllers: {}
Collections: {}
# Helper function to escape a string for HTML rendering.
# taken from backbone.js where it sadly is only available
# for Backbone.Model attributes
escapeHTML: (string) ->
string.replace(/&(?!\w+;)/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')
Jump to Line
Something went wrong with that request. Please try again.