Sha256: c4ac8e4ec3da913c1a02ee717139812dd12b24bdfe47511274288ec54bb160cb
Contents?: true
Size: 768 Bytes
Versions: 23
Compression:
Stored size: 768 Bytes
Contents
# class window.TS.LinkFinder # constructor: (@elements) -> # # enable: -> # setTimeout(-> # $('.ts-link-finder, .medium-editor-toolbar-input').textcomplete [ # { # match: /^\/(\w*)$/ # index: 1 # search: (term, callback) -> # $.ajax # method: 'GET' # url: window.TS.ADMIN_PAGES_URL # dataType: 'json' # contentType: 'application/json' # data: {path: term} # success: (data, status) -> # callback(data.pages) # replace: (page) -> page.path#.substring(1) # template: (page) -> "#{page.title} (#{page.path})" # } # ], # zIndex: 10000 # , 500) # # disable: ->
Version data entries
23 entries across 23 versions & 1 rubygems