debian-mirror-gitlab/app/assets/javascripts/blob/blob_license_selector.js.coffee
2016-06-22 15:30:34 +05:30

9 lines
273 B
CoffeeScript

#= require blob/template_selector
class @BlobLicenseSelector extends TemplateSelector
requestFile: (query) ->
data =
project: @dropdown.data('project')
fullname: @dropdown.data('fullname')
Api.licenseText query.id, data, @requestFileSuccess.bind(@)