diff --git a/src/main/coffeescript/view/ContentTypeView.coffee b/src/main/coffeescript/view/ContentTypeView.coffee deleted file mode 100644 index 1c7a6515..00000000 --- a/src/main/coffeescript/view/ContentTypeView.coffee +++ /dev/null @@ -1,14 +0,0 @@ -class ContentTypeView extends Backbone.View - initialize: -> - - render: -> - template = @template() - $(@el).html(template(@model)) - - $('label[for=contentType]', $(@el)).text('Response Content Type') - - @ - - template: -> - Handlebars.templates.content_type - diff --git a/src/main/coffeescript/view/ContentTypeView.js b/src/main/coffeescript/view/ContentTypeView.js new file mode 100644 index 00000000..b165d80a --- /dev/null +++ b/src/main/coffeescript/view/ContentTypeView.js @@ -0,0 +1,13 @@ +'use strict'; + +var ContentTypeView = Backbone.View.extend({ + initialize: function() {}, + + render: function(){ + $(this.el).html(Handlebars.templates.content_type(this.model)); + + $('label[for=contentType]', $(this.el)).text('Response Content Type'); + + return this; + } +}); \ No newline at end of file