krad 3.4.7 → 3.4.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb15aaa53a496f41b9387eb86e7cb3199a6bd9d6
4
- data.tar.gz: 10d4f95b0208ec8307421b6f62a0af0a80a4e36e
3
+ metadata.gz: 1bba4e9c87f5e6b9b41690906d12cccf0f54484d
4
+ data.tar.gz: 3a41456dc21967ccedaf230b821a3f7f6630a333
5
5
  SHA512:
6
- metadata.gz: 015ff0227d5e2225a9aef93a0a3d6f7c925a7c2a49a5a57b83532902e764d88774b9a7611af0d6d1ba4bad0835f2673c14836469fb05293aa5833c4865764720
7
- data.tar.gz: 75b2454544007754cb1955019cde0aecb1284b39d35465c51258543c7c287e4392ae6b5c81bb721024a7fea53e9ccc0c75156de67c7a0a8e178b6c9816760a5c
6
+ metadata.gz: e472239d6e3a5b0c073e87a0dc03005a1e38c29cd6f94060ddc1753840b71ecb60628228fbaf4eecee324161a85c68b221f1eedf2dc128312b7e42365e082662
7
+ data.tar.gz: e5abc277ca6ca088b3e9f2a18928ac79e8a3d5a7e0f78fdbb1bde2db57b94f9efbcbb14d99a9b64e11df645fb693e0e997a66ff5081041c93aa914e3d1ea200e
data/_layouts/home.html CHANGED
@@ -28,13 +28,7 @@
28
28
  <!-- Back to Top -->
29
29
  {% include back-top.html %}
30
30
  {% include scripts.html %}
31
- <script src="{{ "/assets/scripts/simple-search.min.js" | relative_url }}" async></script>
32
- <script>
33
- window.simpleJekyllSearch = new SimpleJekyllSearch({
34
- searchInput: document.getElementById('search-input'),
35
- resultsContainer: document.getElementById('results-container'),
36
- json: '/data/search.json'
37
- })
38
- </script>
31
+ <script src="{{ "/assets/scripts/search.js" | relative_url }}" async></script>
32
+
39
33
  </body>
40
34
  </html>
@@ -1,9 +1,3 @@
1
- /*!
2
- * Simple-Jekyll-Search v1.4.1 (https://github.com/christian-fei/Simple-Jekyll-Search)
3
- * Copyright 2015-2017, Christian Fei
4
- * Licensed under MIT (https://github.com/christian-fei/Simple-Jekyll-Search/blob/master/LICENSE.md)
5
- */
6
-
7
1
  (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
8
2
  'use strict';
9
3
 
@@ -411,3 +405,10 @@ function isJSON (json) {
411
405
  }
412
406
 
413
407
  },{}]},{},[8]);
408
+
409
+ SimpleJekyllSearch({
410
+ searchInput: document.getElementById('search-input'),
411
+ resultsContainer: document.getElementById('results-container'),
412
+ json: '/data/search.json',
413
+ noResultsText: 'Never heard of it!'
414
+ })
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krad
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.7
4
+ version: 3.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lê Thanh Tùng
@@ -157,7 +157,7 @@ files:
157
157
  - assets/scripts/fullwidth-text.js
158
158
  - assets/scripts/img-cs.js
159
159
  - assets/scripts/responsive-menu.js
160
- - assets/scripts/simple-search.min.js
160
+ - assets/scripts/search.js
161
161
  - assets/styles/components.scss
162
162
  - assets/styles/krad.scss
163
163
  homepage: http://www.tunglt.com