Sha256: e219207ed0f44a5cce58655ef1191fb410b6c74a8b86be0ac5924c3986e072e1
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI"curate/select_works.js; FI" pathname; TI"]/Users/jfriesen/Repositories/curate/app/assets/javascripts/curate/select_works.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+ŽonRI"length; Ti0I"digest; TI"%5d890804b802b72f1a89680bd586f55c; FI"source; TI"0(function() { jQuery(function() { return $('.autocomplete').each(function(index, el) { var $targetElement; $targetElement = $(el); return $targetElement.tokenInput($targetElement.data("url"), { theme: 'facebook', prePopulate: $('.autocomplete').data('load'), jsonContainer: "docs", propertyToSearch: "title", preventDuplicates: true, tokenValue: "pid", onResult: function(results) { var pidsToFilter; pidsToFilter = $targetElement.data('exclude'); $.each(results.docs, function(index, value) { if (pidsToFilter.indexOf(value.pid) > -1) { return results.docs.splice(index, 1); } }); return results; } }); }); }); }).call(this); ; TI"required_assets_digest; TI"%78bf53234632c39b30e7593b8bf8f11a; FI" _version; TI"%2cf3622cbba861b85d33ffabfa420c13; F
Version data entries
2 entries across 1 versions & 1 rubygems