Sha256: b03026f06fb0735d77be354fd9abfec6aefecd726632300ddabccceceb35b2cf

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

{I"
class:ETI"ProcessedAsset;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"dependency_digest;TI"%78bf53234632c39b30e7593b8bf8f11a;FI"required_paths;T[I"]/Users/jfriesen/Repositories/curate/app/assets/javascripts/curate/select_works.js.coffee;FI"dependency_paths;T[{I"	path;TI"]/Users/jfriesen/Repositories/curate/app/assets/javascripts/curate/select_works.js.coffee;FI"
mtime;TI"2013-10-28T10:07:42-04:00;TI"digest;TI"%bd82f66c7864022e483036dafbe379e8;FI"
_version;TI"%2cf3622cbba861b85d33ffabfa420c13;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
curate-0.5.2 spec/internal/tmp/cache/assets/development/sprockets/7d0dafd1bea0f4da00c580f0f6d664b8