2016-06-15 03:12:42 -04:00
|
|
|
#= require blob/template_selector
|
2016-03-01 07:36:50 -05:00
|
|
|
|
2016-06-15 03:12:42 -04:00
|
|
|
class @BlobLicenseSelector extends TemplateSelector
|
|
|
|
requestFile: (query) ->
|
|
|
|
data =
|
|
|
|
project: @dropdown.data('project')
|
|
|
|
fullname: @dropdown.data('fullname')
|
2016-03-01 07:36:50 -05:00
|
|
|
|
2016-06-15 03:12:42 -04:00
|
|
|
Api.licenseText query.id, data, @requestFileSuccess.bind(@)
|