jekyll-theme-scrawl 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/js/script.js +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77026d79aa76906f61c71d4bfb5e8b3f8c985baf
4
- data.tar.gz: '06870a4bdb10c3d6f8c1dfb78464ccbb502b9401'
3
+ metadata.gz: 765b1c91c43dbbd5df919eada8e9e6b796d183a1
4
+ data.tar.gz: bd6d27ca9ffd74dc2880dd9f6f6326a7e549d44f
5
5
  SHA512:
6
- metadata.gz: 63c0d96f4372b02c2c850ab4f25cb45027c8aef108ba042150def5ffe023fb33d98bb633a6f8633e82d1556d85d9adacff306462dfbd90f0701e0e8a0fcc891e
7
- data.tar.gz: 7a1b96186f8a5baa46ccea78bd904fe934d743b5dd328284ebffa9c1158fe371ce4647bf8001555681b4c66b19aeda081d1da168183d4d0e13ac136aa746a140
6
+ metadata.gz: 83003366b4caf1312806f475d18853e0af84563027da6b7b7b086224a9a1229e1b3d4a6156c3f308f636d06a7bb81cb0e5711701d22c33d77e59802c3fcc4b09
7
+ data.tar.gz: 6051abc9e294057c1ca2785d0818386d58c892d4be233599455afb5a06ff5a1810f767013e41039634d14388147168014adc7280e489bac4c1c77ff72930d9b2
@@ -66,6 +66,7 @@ $(document).ready(function () {
66
66
  });
67
67
 
68
68
  var qs = lstrQuickSwitcher({
69
+ searchDelay: 100,
69
70
  searchCallback: function(searchText, resultHandler) {
70
71
  var options = [];
71
72
  $('header nav .nav-category').each(function () {
@@ -75,14 +76,15 @@ $(document).ready(function () {
75
76
  options.push({
76
77
  text: $a.text(),
77
78
  description: category,
78
- url: $a.attr('href')
79
+ url: $a.attr('href'),
80
+ search: ($a.text() + ' ' + category).toLowerCase()
79
81
  });
80
82
  });
81
83
  })
82
84
  var filteredOptions = options.filter(function(item) {
83
85
  return resultHandler.filters.isMatch(
84
86
  searchText.toLowerCase(),
85
- item.text.toLowerCase()
87
+ item.search
86
88
  );
87
89
  });
88
90
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-scrawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Light