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