Sha256: c39bd938107b22e7a9b5495eeb466c3080a002f7db3aa3b02feaf1e672909a99
Contents?: true
Size: 495 Bytes
Versions: 4
Compression:
Stored size: 495 Bytes
Contents
class Tenon.features.tenonContent.AssetLink extends Tenon.features.tenonContent.AssetAttachment _setFields: ($li) => $link = $('<a />').attr('href', $li.data('style-urls')['original']) selected = @$browseButton.getSelection().getSelectedText() text = if selected.length then selected else 'Asset Link' $link.html(text) @$browseButton.insertHtml($link[0].outerHTML) # Create a virtual input to hold the data _getAssetField: => $('<input />').attr('type', 'hidden')
Version data entries
4 entries across 4 versions & 1 rubygems