Sha256: 1a1c068834cbd1f6c1828c73d2143829ee525a7aa308881412c0240c6f967030
Contents?: true
Size: 1.67 KB
Versions: 6
Compression:
Stored size: 1.67 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"*type_station/editables/link_finder.js; FI" pathname; TI"p/Users/richardadams/github/type_station/app/assets/javascripts/type_station/editables/link_finder.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+Ô.âTI"length; TiµI"digest; TI"%0e12dc4988ebf6cd65eeb1d8a738ae5e; FI"source; TI"µ(function() { window.TS.LinkFinder = (function() { function LinkFinder(_at_elements) { this.elements = _at_elements; } LinkFinder.prototype.enable = function() { return setTimeout(function() { return $('.ts-link-finder, .medium-editor-toolbar-input').textcomplete([ { match: /^\/(\w*)$/, index: 1, search: function(term, callback) { return $.ajax({ method: 'GET', url: window.TS.ADMIN_PAGES_URL, dataType: 'json', contentType: 'application/json', data: { path: term }, success: function(data, status) { return callback(data.pages); } }); }, replace: function(page) { return page.path; }, template: function(page) { return page.title + " (" + page.path + ")"; } } ], { zIndex: 10000 }); }, 500); }; LinkFinder.prototype.disable = function() {}; return LinkFinder; })(); }).call(this); ; TI"required_assets_digest; TI"%7b13dd63f38d3144dd79fe48e8f3e952; FI" _version; TI"%64e62ddc273c2f5847f30d698ca14b67; F
Version data entries
6 entries across 3 versions & 1 rubygems