{I" class:ETI"ProcessedAsset;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"dependency_digest;TI"%7b13dd63f38d3144dd79fe48e8f3e952;FI"required_paths;T[I"p/Users/richardadams/github/type_station/app/assets/javascripts/type_station/editables/link_finder.js.coffee;FI"dependency_paths;T[{I" path;TI"p/Users/richardadams/github/type_station/app/assets/javascripts/type_station/editables/link_finder.js.coffee;FI" mtime;TI"2015-02-16T17:54:28+00:00;TI" digest;TI"%5dd5391af58f1e21e057b609bb5ae599;FI" _version;TI"%64e62ddc273c2f5847f30d698ca14b67;F