2016-06-22 15:30:34 +05:30
|
|
|
#= require blob/template_selector
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
class @BlobLicenseSelector extends TemplateSelector
|
|
|
|
requestFile: (query) ->
|
|
|
|
data =
|
|
|
|
project: @dropdown.data('project')
|
|
|
|
fullname: @dropdown.data('fullname')
|
2016-06-02 11:05:42 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
Api.licenseText query.id, data, @requestFileSuccess.bind(@)
|