blacklight-citeproc 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.env +3 -0
  3. data/.internal_test_app/solr/conf/_rest_managed.json +3 -0
  4. data/.internal_test_app/solr/conf/admin-extra.html +31 -0
  5. data/.internal_test_app/solr/conf/currency.xml +67 -0
  6. data/.internal_test_app/solr/conf/email_url_types.txt +2 -0
  7. data/.internal_test_app/solr/conf/lang/contractions_ca.txt +8 -0
  8. data/.internal_test_app/solr/conf/lang/contractions_fr.txt +15 -0
  9. data/.internal_test_app/solr/conf/lang/contractions_ga.txt +5 -0
  10. data/.internal_test_app/solr/conf/lang/contractions_it.txt +23 -0
  11. data/.internal_test_app/solr/conf/lang/hyphenations_ga.txt +5 -0
  12. data/.internal_test_app/solr/conf/lang/stemdict_nl.txt +6 -0
  13. data/.internal_test_app/solr/conf/lang/stoptags_ja.txt +420 -0
  14. data/.internal_test_app/solr/conf/lang/stopwords_ar.txt +125 -0
  15. data/.internal_test_app/solr/conf/lang/stopwords_bg.txt +193 -0
  16. data/.internal_test_app/solr/conf/lang/stopwords_ca.txt +220 -0
  17. data/.internal_test_app/solr/conf/lang/stopwords_cz.txt +172 -0
  18. data/.internal_test_app/solr/conf/lang/stopwords_da.txt +110 -0
  19. data/.internal_test_app/solr/conf/lang/stopwords_de.txt +294 -0
  20. data/.internal_test_app/solr/conf/lang/stopwords_el.txt +78 -0
  21. data/.internal_test_app/solr/conf/lang/stopwords_en.txt +54 -0
  22. data/.internal_test_app/solr/conf/lang/stopwords_es.txt +356 -0
  23. data/.internal_test_app/solr/conf/lang/stopwords_eu.txt +99 -0
  24. data/.internal_test_app/solr/conf/lang/stopwords_fa.txt +313 -0
  25. data/.internal_test_app/solr/conf/lang/stopwords_fi.txt +97 -0
  26. data/.internal_test_app/solr/conf/lang/stopwords_fr.txt +186 -0
  27. data/.internal_test_app/solr/conf/lang/stopwords_ga.txt +110 -0
  28. data/.internal_test_app/solr/conf/lang/stopwords_gl.txt +161 -0
  29. data/.internal_test_app/solr/conf/lang/stopwords_hi.txt +235 -0
  30. data/.internal_test_app/solr/conf/lang/stopwords_hu.txt +211 -0
  31. data/.internal_test_app/solr/conf/lang/stopwords_hy.txt +46 -0
  32. data/.internal_test_app/solr/conf/lang/stopwords_id.txt +359 -0
  33. data/.internal_test_app/solr/conf/lang/stopwords_it.txt +303 -0
  34. data/.internal_test_app/solr/conf/lang/stopwords_ja.txt +127 -0
  35. data/.internal_test_app/solr/conf/lang/stopwords_lv.txt +172 -0
  36. data/.internal_test_app/solr/conf/lang/stopwords_nl.txt +119 -0
  37. data/.internal_test_app/solr/conf/lang/stopwords_no.txt +194 -0
  38. data/.internal_test_app/solr/conf/lang/stopwords_pt.txt +253 -0
  39. data/.internal_test_app/solr/conf/lang/stopwords_ro.txt +233 -0
  40. data/.internal_test_app/solr/conf/lang/stopwords_ru.txt +243 -0
  41. data/.internal_test_app/solr/conf/lang/stopwords_sv.txt +133 -0
  42. data/.internal_test_app/solr/conf/lang/stopwords_th.txt +119 -0
  43. data/.internal_test_app/solr/conf/lang/stopwords_tr.txt +212 -0
  44. data/.internal_test_app/solr/conf/lang/userdict_ja.txt +29 -0
  45. data/.internal_test_app/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  46. data/.internal_test_app/solr/conf/protwords.txt +21 -0
  47. data/.internal_test_app/solr/conf/schema.xml +408 -0
  48. data/.internal_test_app/solr/conf/scripts.conf +24 -0
  49. data/.internal_test_app/solr/conf/solrconfig.xml +1287 -0
  50. data/.internal_test_app/solr/conf/spellings.txt +2 -0
  51. data/.internal_test_app/solr/conf/stopwords.txt +14 -0
  52. data/.internal_test_app/solr/conf/stopwords_en.txt +58 -0
  53. data/.internal_test_app/solr/conf/synonyms.txt +13 -0
  54. data/.internal_test_app/solr/conf/update-script.js +115 -0
  55. data/.internal_test_app/solr/conf/velocity/browse.vm +32 -0
  56. data/.internal_test_app/solr/conf/velocity/dropit.js +0 -0
  57. data/.internal_test_app/solr/conf/velocity/facet_doc_type.vm +2 -0
  58. data/.internal_test_app/solr/conf/velocity/facet_text_shingles.vm +12 -0
  59. data/.internal_test_app/solr/conf/velocity/facets.vm +24 -0
  60. data/.internal_test_app/solr/conf/velocity/footer.vm +29 -0
  61. data/.internal_test_app/solr/conf/velocity/head.vm +290 -0
  62. data/.internal_test_app/solr/conf/velocity/hit.vm +77 -0
  63. data/.internal_test_app/solr/conf/velocity/img/english_640.png +0 -0
  64. data/.internal_test_app/solr/conf/velocity/img/france_640.png +0 -0
  65. data/.internal_test_app/solr/conf/velocity/img/germany_640.png +0 -0
  66. data/.internal_test_app/solr/conf/velocity/img/globe_256.png +0 -0
  67. data/.internal_test_app/solr/conf/velocity/jquery.tx3-tag-cloud.js +0 -0
  68. data/.internal_test_app/solr/conf/velocity/js/dropit.js +97 -0
  69. data/.internal_test_app/solr/conf/velocity/js/jquery.autocomplete.js +763 -0
  70. data/.internal_test_app/solr/conf/velocity/js/jquery.tx3-tag-cloud.js +70 -0
  71. data/.internal_test_app/solr/conf/velocity/layout.vm +42 -0
  72. data/.internal_test_app/solr/conf/velocity/macros.vm +16 -0
  73. data/.internal_test_app/solr/conf/velocity/mime_type_lists.vm +68 -0
  74. data/.internal_test_app/solr/conf/velocity/results.vm +20 -0
  75. data/.internal_test_app/solr/conf/velocity/results_list.vm +21 -0
  76. data/.internal_test_app/solr/conf/xslt/example.xsl +132 -0
  77. data/.internal_test_app/solr/conf/xslt/example_atom.xsl +67 -0
  78. data/.internal_test_app/solr/conf/xslt/example_rss.xsl +66 -0
  79. data/.internal_test_app/solr/conf/xslt/luke.xsl +337 -0
  80. data/Dockerfile +43 -0
  81. data/README.md +3 -0
  82. data/bin/entrypoint.sh +8 -0
  83. data/docker-compose.yml +33 -0
  84. data/lib/blacklight/citeproc/version.rb +1 -1
  85. metadata +83 -2
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Dropit v1.1.0
3
+ * http://dev7studios.com/dropit
4
+ *
5
+ * Copyright 2012, Dev7studios
6
+ * Free to use and abuse under the MIT license.
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ */
9
+
10
+ ;(function($) {
11
+
12
+ $.fn.dropit = function(method) {
13
+
14
+ var methods = {
15
+
16
+ init : function(options) {
17
+ this.dropit.settings = $.extend({}, this.dropit.defaults, options);
18
+ return this.each(function() {
19
+ var $el = $(this),
20
+ el = this,
21
+ settings = $.fn.dropit.settings;
22
+
23
+ // Hide initial submenus
24
+ $el.addClass('dropit')
25
+ .find('>'+ settings.triggerParentEl +':has('+ settings.submenuEl +')').addClass('dropit-trigger')
26
+ .find(settings.submenuEl).addClass('dropit-submenu').hide();
27
+
28
+ // Open on click
29
+ $el.off(settings.action).on(settings.action, settings.triggerParentEl +':has('+ settings.submenuEl +') > '+ settings.triggerEl +'', function(){
30
+ // Close click menu's if clicked again
31
+ if(settings.action == 'click' && $(this).parents(settings.triggerParentEl).hasClass('dropit-open')){
32
+ settings.beforeHide.call(this);
33
+ $(this).parents(settings.triggerParentEl).removeClass('dropit-open').find(settings.submenuEl).hide();
34
+ settings.afterHide.call(this);
35
+ return false;
36
+ }
37
+
38
+ // Hide open menus
39
+ settings.beforeHide.call(this);
40
+ $('.dropit-open').removeClass('dropit-open').find('.dropit-submenu').hide();
41
+ settings.afterHide.call(this);
42
+
43
+ // Open this menu
44
+ settings.beforeShow.call(this);
45
+ $(this).parents(settings.triggerParentEl).addClass('dropit-open').find(settings.submenuEl).show();
46
+ settings.afterShow.call(this);
47
+
48
+ return false;
49
+ });
50
+
51
+ // Close if outside click
52
+ $(document).on('click', function(){
53
+ settings.beforeHide.call(this);
54
+ $('.dropit-open').removeClass('dropit-open').find('.dropit-submenu').hide();
55
+ settings.afterHide.call(this);
56
+ });
57
+
58
+ // If hover
59
+ if(settings.action == 'mouseenter'){
60
+ $el.on('mouseleave', '.dropit-open', function(){
61
+ settings.beforeHide.call(this);
62
+ $(this).removeClass('dropit-open').find(settings.submenuEl).hide();
63
+ settings.afterHide.call(this);
64
+ });
65
+ }
66
+
67
+ settings.afterLoad.call(this);
68
+ });
69
+ }
70
+
71
+ };
72
+
73
+ if (methods[method]) {
74
+ return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
75
+ } else if (typeof method === 'object' || !method) {
76
+ return methods.init.apply(this, arguments);
77
+ } else {
78
+ $.error( 'Method "' + method + '" does not exist in dropit plugin!');
79
+ }
80
+
81
+ };
82
+
83
+ $.fn.dropit.defaults = {
84
+ action: 'mouseenter', // The open action for the trigger
85
+ submenuEl: 'ul', // The submenu element
86
+ triggerEl: 'a', // The trigger element
87
+ triggerParentEl: 'li', // The trigger parent element
88
+ afterLoad: function(){}, // Triggers when plugin has loaded
89
+ beforeShow: function(){}, // Triggers before submenu is shown
90
+ afterShow: function(){}, // Triggers after submenu is shown
91
+ beforeHide: function(){}, // Triggers before submenu is hidden
92
+ afterHide: function(){} // Triggers before submenu is hidden
93
+ };
94
+
95
+ $.fn.dropit.settings = {};
96
+
97
+ })(jQuery);