jekyll-theme-simple-texture 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/_includes/blog/scripts.html +6 -63
- data/_includes/common/gtm-body.html +4 -0
- data/_includes/common/gtm-head.html +7 -0
- data/_includes/common/libraries.html +2 -6
- data/_includes/home/scripts.html +0 -8
- data/_layouts/blog.html +7 -0
- data/_layouts/home.html +7 -0
- data/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css +2 -2
- data/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js +1 -1
- data/assets/javascripts/fancybox/helpers/jquery.fancybox-media.js +5 -3
- data/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.js +8 -5
- data/assets/javascripts/fancybox/jquery.fancybox.css +9 -8
- data/assets/javascripts/fancybox/jquery.fancybox.js +52 -54
- data/assets/javascripts/fancybox/jquery.fancybox.pack.js +45 -45
- data/assets/javascripts/jquery-3.3.1.min.js +2 -0
- metadata +11 -253
- data/_includes/common/analytics.html +0 -63
- data/assets/javascripts/autotrack.js +0 -63
- data/assets/javascripts/autotrack.js.map +0 -1
- data/assets/javascripts/ckeditor/LICENSE.md +0 -1264
- data/assets/javascripts/ckeditor/README.md +0 -39
- data/assets/javascripts/ckeditor/adapters/jquery.js +0 -10
- data/assets/javascripts/ckeditor/build-config.js +0 -141
- data/assets/javascripts/ckeditor/ckeditor.js +0 -902
- data/assets/javascripts/ckeditor/config.js +0 -38
- data/assets/javascripts/ckeditor/contents.css +0 -123
- data/assets/javascripts/ckeditor/lang/af.js +0 -5
- data/assets/javascripts/ckeditor/lang/ar.js +0 -5
- data/assets/javascripts/ckeditor/lang/bg.js +0 -5
- data/assets/javascripts/ckeditor/lang/bn.js +0 -5
- data/assets/javascripts/ckeditor/lang/bs.js +0 -5
- data/assets/javascripts/ckeditor/lang/ca.js +0 -5
- data/assets/javascripts/ckeditor/lang/cs.js +0 -5
- data/assets/javascripts/ckeditor/lang/cy.js +0 -5
- data/assets/javascripts/ckeditor/lang/da.js +0 -5
- data/assets/javascripts/ckeditor/lang/de.js +0 -5
- data/assets/javascripts/ckeditor/lang/el.js +0 -5
- data/assets/javascripts/ckeditor/lang/en-au.js +0 -5
- data/assets/javascripts/ckeditor/lang/en-ca.js +0 -5
- data/assets/javascripts/ckeditor/lang/en-gb.js +0 -5
- data/assets/javascripts/ckeditor/lang/en.js +0 -5
- data/assets/javascripts/ckeditor/lang/eo.js +0 -5
- data/assets/javascripts/ckeditor/lang/es.js +0 -5
- data/assets/javascripts/ckeditor/lang/et.js +0 -5
- data/assets/javascripts/ckeditor/lang/eu.js +0 -5
- data/assets/javascripts/ckeditor/lang/fa.js +0 -5
- data/assets/javascripts/ckeditor/lang/fi.js +0 -5
- data/assets/javascripts/ckeditor/lang/fo.js +0 -5
- data/assets/javascripts/ckeditor/lang/fr-ca.js +0 -5
- data/assets/javascripts/ckeditor/lang/fr.js +0 -5
- data/assets/javascripts/ckeditor/lang/gl.js +0 -5
- data/assets/javascripts/ckeditor/lang/gu.js +0 -5
- data/assets/javascripts/ckeditor/lang/he.js +0 -5
- data/assets/javascripts/ckeditor/lang/hi.js +0 -5
- data/assets/javascripts/ckeditor/lang/hr.js +0 -5
- data/assets/javascripts/ckeditor/lang/hu.js +0 -5
- data/assets/javascripts/ckeditor/lang/id.js +0 -5
- data/assets/javascripts/ckeditor/lang/is.js +0 -5
- data/assets/javascripts/ckeditor/lang/it.js +0 -5
- data/assets/javascripts/ckeditor/lang/ja.js +0 -5
- data/assets/javascripts/ckeditor/lang/ka.js +0 -5
- data/assets/javascripts/ckeditor/lang/km.js +0 -5
- data/assets/javascripts/ckeditor/lang/ko.js +0 -5
- data/assets/javascripts/ckeditor/lang/ku.js +0 -5
- data/assets/javascripts/ckeditor/lang/lt.js +0 -5
- data/assets/javascripts/ckeditor/lang/lv.js +0 -5
- data/assets/javascripts/ckeditor/lang/mk.js +0 -5
- data/assets/javascripts/ckeditor/lang/mn.js +0 -5
- data/assets/javascripts/ckeditor/lang/ms.js +0 -5
- data/assets/javascripts/ckeditor/lang/nb.js +0 -5
- data/assets/javascripts/ckeditor/lang/nl.js +0 -5
- data/assets/javascripts/ckeditor/lang/no.js +0 -5
- data/assets/javascripts/ckeditor/lang/pl.js +0 -5
- data/assets/javascripts/ckeditor/lang/pt-br.js +0 -5
- data/assets/javascripts/ckeditor/lang/pt.js +0 -5
- data/assets/javascripts/ckeditor/lang/ro.js +0 -5
- data/assets/javascripts/ckeditor/lang/ru.js +0 -5
- data/assets/javascripts/ckeditor/lang/si.js +0 -5
- data/assets/javascripts/ckeditor/lang/sk.js +0 -5
- data/assets/javascripts/ckeditor/lang/sl.js +0 -5
- data/assets/javascripts/ckeditor/lang/sq.js +0 -5
- data/assets/javascripts/ckeditor/lang/sr-latn.js +0 -5
- data/assets/javascripts/ckeditor/lang/sr.js +0 -5
- data/assets/javascripts/ckeditor/lang/sv.js +0 -5
- data/assets/javascripts/ckeditor/lang/th.js +0 -5
- data/assets/javascripts/ckeditor/lang/tr.js +0 -5
- data/assets/javascripts/ckeditor/lang/ug.js +0 -5
- data/assets/javascripts/ckeditor/lang/uk.js +0 -5
- data/assets/javascripts/ckeditor/lang/vi.js +0 -5
- data/assets/javascripts/ckeditor/lang/zh-cn.js +0 -5
- data/assets/javascripts/ckeditor/lang/zh.js +0 -5
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -13
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -13
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
- data/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -10
- data/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -7
- data/assets/javascripts/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/assets/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/assets/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
- data/assets/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/assets/javascripts/ckeditor/plugins/icons_hidpi.png +0 -0
- data/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -43
- data/assets/javascripts/ckeditor/plugins/image/images/noimage.png +0 -0
- data/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -8
- data/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -37
- data/assets/javascripts/ckeditor/plugins/link/images/anchor.png +0 -0
- data/assets/javascripts/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/assets/javascripts/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/assets/javascripts/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/assets/javascripts/ckeditor/plugins/pastefromword/filter/default.js +0 -31
- data/assets/javascripts/ckeditor/plugins/scayt/LICENSE.md +0 -28
- data/assets/javascripts/ckeditor/plugins/scayt/README.md +0 -25
- data/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -20
- data/assets/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -11
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -12
- data/assets/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
- data/assets/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -21
- data/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -16
- data/assets/javascripts/ckeditor/skins/moono/dialog.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/dialog_ie.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/dialog_opera.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor_gecko.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor_ie.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor_ie7.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor_ie8.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css +0 -5
- data/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/icons_hidpi.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/hidpi/close.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/lock-open.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/lock.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/images/refresh.png +0 -0
- data/assets/javascripts/ckeditor/skins/moono/readme.md +0 -51
- data/assets/javascripts/ckeditor/styles.js +0 -111
- data/assets/javascripts/jquery-3.2.1.min.js +0 -4
- data/assets/javascripts/tinymce/license.txt +0 -504
- data/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +0 -1
- data/assets/javascripts/tinymce/skins/lightgray/content.min.css +0 -1
- data/assets/javascripts/tinymce/skins/lightgray/fonts/readme.md +0 -1
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce-small.svg +0 -175
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.svg +0 -153
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/img/object.gif +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/assets/javascripts/tinymce/skins/lightgray/skin.classic.min.css +0 -1
- data/assets/javascripts/tinymce/skins/lightgray/skin.ie7.min.css +0 -1
- data/assets/javascripts/tinymce/skins/lightgray/skin.min.css +0 -1
- data/assets/javascripts/tinymce/themes/modern/theme.min.js +0 -1
- data/assets/javascripts/tinymce/tinymce.min.js +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 635a61b9f6bf592a08a7a7c361b1c5bf5fb1022a96018b22bf8d3ada95b1e7ba
|
4
|
+
data.tar.gz: f9ba9ac650975f82a0c9e812d74cc09b24c77e918fd0bee64c67cf08642cc0ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d579792a7bf2a0da7a3c49ab19df9f4625ba1583c2ae7fa36f05b7bdb046fa613fe1c8d88d8a27355f3334e43087c2c072785d0b4cf5aa1040a7ffe4e331516f
|
7
|
+
data.tar.gz: 5a678de3330dd06672d2860c9a30d85a9cee50d4862eaf1a07bfa56b98c0d39af00f08b9fab7ee28dace93e0c7c0ff016847574b89f07c2dcfc64f8572ef12f0
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ which can also be forked as a boilerplate for older versions of Jekyll.
|
|
9
9
|
|
10
10
|
- Starter-kit demo:
|
11
11
|
<https://yizeng.github.io/jekyll-theme-simple-texture/>
|
12
|
-
- My own personal blog: <
|
12
|
+
- My own personal blog: <https://yizeng.me/blog>
|
13
13
|
|
14
14
|
![Screenshot - Home](assets/images/screenshots/home.png)
|
15
15
|
|
@@ -78,7 +78,7 @@ i.e. `jekyllapp` in this example.
|
|
78
78
|
```ruby
|
79
79
|
source "https://rubygems.org"
|
80
80
|
|
81
|
-
gem 'jekyll'
|
81
|
+
gem 'jekyll'
|
82
82
|
|
83
83
|
group :jekyll_plugins do
|
84
84
|
gem 'jekyll-feed'
|
data/_includes/blog/scripts.html
CHANGED
@@ -40,63 +40,6 @@ $(document).ready(function () {
|
|
40
40
|
});
|
41
41
|
</script>
|
42
42
|
|
43
|
-
<!-- Google Analytics Event tracking -->
|
44
|
-
{% if site.google_analytics %}
|
45
|
-
<script>
|
46
|
-
$(document).on('click', 'footer .back-to-top, .gotop', function (event) {
|
47
|
-
sendGaEvent('Blog', 'Back to Top', event.currentTarget);
|
48
|
-
});
|
49
|
-
$(document).on('click', '.show-hidden', function (event) {
|
50
|
-
sendGaEvent('Post', 'Show Hidden', event.currentTarget);
|
51
|
-
});
|
52
|
-
$(document).on('click', 'a.internal', function(event) {
|
53
|
-
sendGaEvent('Blog', 'Navigate', event.currentTarget);
|
54
|
-
});
|
55
|
-
$('.the-header').on('click', '.nav-link a, [class$=wrapper] .results a, .nav-link button', function(event) {
|
56
|
-
sendGaEvent('Blog', 'Navigate', event.currentTarget);
|
57
|
-
});
|
58
|
-
$('.the-header').on('click', '.nav-link button', function(event) {
|
59
|
-
sendGaEvent('Blog', 'Navigate', event.currentTarget);
|
60
|
-
});
|
61
|
-
$('.the-footer').on('click', '.about h4 a', function(event) {
|
62
|
-
sendGaEvent('Blog', 'Go to About', event.currentTarget);
|
63
|
-
});
|
64
|
-
$('.the-footer').on('click', '.social-links a', function(event) {
|
65
|
-
sendGaEvent('Blog', 'Click Social Link', event.currentTarget);
|
66
|
-
});
|
67
|
-
$('.unit-article').on('click', '.tag_box.categories a', function(event) {
|
68
|
-
sendGaEvent('Blog', 'Click Category', event.currentTarget);
|
69
|
-
});
|
70
|
-
$('.unit-article').on('click', '.tag_box.tags a', function(event) {
|
71
|
-
sendGaEvent('Blog', 'Click Tag', event.currentTarget);
|
72
|
-
});
|
73
|
-
$('.unit-article').on('click', '.comments .show-hidden', function(event) {
|
74
|
-
sendGaEvent('Post', 'Show Comments', event.currentTarget);
|
75
|
-
});
|
76
|
-
$('.unit-article').on('click', '.meta .author', function(event) {
|
77
|
-
sendGaEvent('Post', 'Show Author', event.currentTarget);
|
78
|
-
});
|
79
|
-
$('.unit-article').on('click', '.meta .license-icon', function(event) {
|
80
|
-
sendGaEvent('Post', 'Show License', event.currentTarget);
|
81
|
-
});
|
82
|
-
$('.unit-article').on('click', '.meta .list-tag a', function(event) {
|
83
|
-
sendGaEvent('Post', 'Click Tag', event.currentTarget);
|
84
|
-
});
|
85
|
-
$('.unit-article').on('click', '.meta .list-category', function(event) {
|
86
|
-
sendGaEvent('Post', 'Click Category', event.currentTarget);
|
87
|
-
});
|
88
|
-
$('.unit-foot').delegate('.addthis_toolbox .btn-share-post', 'click', function(event) {
|
89
|
-
sendGaEvent('Post', 'Share Post', event.currentTarget);
|
90
|
-
});
|
91
|
-
$('.search-wrapper').on('click', '.results a', function(event) {
|
92
|
-
sendGaEvent('Search', 'Click Search Result', event.currentTarget);
|
93
|
-
});
|
94
|
-
$('.search-wrapper').on('click', '.btn-close', function(event) {
|
95
|
-
sendGaEvent('Search', 'Close Search', event.currentTarget);
|
96
|
-
});
|
97
|
-
</script>
|
98
|
-
{% endif %}
|
99
|
-
|
100
43
|
<!-- Show menu overlay + Jekyll Simple Search option -->
|
101
44
|
<script src="{{ site.baseurl }}/assets/javascripts/jekyll-search.jquery.js"></script>
|
102
45
|
<script>
|
@@ -143,18 +86,18 @@ $(document).ready(function () {
|
|
143
86
|
})(jQuery, window);
|
144
87
|
</script>
|
145
88
|
|
146
|
-
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.
|
147
|
-
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.
|
89
|
+
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.7/jquery.fancybox.min.js'></script>
|
90
|
+
<script src='//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.7/helpers/jquery.fancybox-buttons.min.js'></script>
|
148
91
|
<script src="{{ site.baseurl }}/assets/javascripts/unveil/jquery.unveil.min.js"></script>
|
149
92
|
|
150
93
|
<script>
|
151
|
-
window.jQuery.fancybox || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.pack.js
|
152
|
-
window.jQuery.fancybox.helpers.buttons || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js
|
94
|
+
window.jQuery.fancybox || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.pack.js"><\/script>')
|
95
|
+
window.jQuery.fancybox.helpers.buttons || document.write('<script src="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js"><\/script>')
|
153
96
|
</script>
|
154
97
|
|
155
98
|
<script>
|
156
|
-
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.css
|
157
|
-
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css
|
99
|
+
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/jquery.fancybox.css" type="text/css" />');
|
100
|
+
$("head").append('<link rel="stylesheet" href="{{ site.baseurl }}/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css" type="text/css" />');
|
158
101
|
$(".post-image").fancybox({
|
159
102
|
prevEffect: 'none',
|
160
103
|
nextEffect: 'none',
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<!-- Google Tag Manager -->
|
2
|
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
3
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
4
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
5
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
6
|
+
})(window,document,'script','dataLayer','{{ site.google_tag_manager }}');</script>
|
7
|
+
<!-- End Google Tag Manager -->
|
@@ -1,16 +1,12 @@
|
|
1
1
|
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
2
2
|
<script>window.Modernizr || document.write('<script src="{{ site.baseurl }}/assets/javascripts/modernizr-2.8.3.min.js"><\/script>')</script>
|
3
3
|
|
4
|
-
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.
|
4
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
5
5
|
<script>
|
6
|
-
window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/javascripts/jquery-3.
|
6
|
+
window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/javascripts/jquery-3.3.1.min.js"><\/script>')
|
7
7
|
</script>
|
8
8
|
|
9
9
|
<script src="//cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js"></script>
|
10
10
|
<script>
|
11
11
|
window.Pace || document.write('<script src="{{ site.baseurl }}/assets/javascripts/pace.min.js"><\/script>')
|
12
12
|
</script>
|
13
|
-
|
14
|
-
{% if site.google_analytics %}
|
15
|
-
{% include common/analytics.html %}
|
16
|
-
{% endif %}
|
data/_includes/home/scripts.html
CHANGED
data/_layouts/blog.html
CHANGED
@@ -11,9 +11,16 @@
|
|
11
11
|
{% include common/meta.html %}
|
12
12
|
<link href='{{ site.baseurl }}/assets/stylesheets/blog.css' rel="stylesheet" type="text/css">
|
13
13
|
{% include common/libraries.html %}
|
14
|
+
{% if site.google_tag_manager %}
|
15
|
+
{% include common/gtm-head.html %}
|
16
|
+
{% endif %}
|
14
17
|
</head>
|
15
18
|
|
16
19
|
<body>
|
20
|
+
{% if site.google_tag_manager %}
|
21
|
+
{% include common/gtm-body.html %}
|
22
|
+
{% endif %}
|
23
|
+
|
17
24
|
{% include common/notices.html %}
|
18
25
|
{% include blog/overlay.html %}
|
19
26
|
|
data/_layouts/home.html
CHANGED
@@ -11,9 +11,16 @@
|
|
11
11
|
{% include common/meta.html %}
|
12
12
|
<link href='{{ site.baseurl }}/assets/stylesheets/home.css' rel="stylesheet" type="text/css">
|
13
13
|
{% include common/libraries.html %}
|
14
|
+
{% if site.google_tag_manager %}
|
15
|
+
{% include common/gtm-head.html %}
|
16
|
+
{% endif %}
|
14
17
|
</head>
|
15
18
|
|
16
19
|
<body>
|
20
|
+
{% if site.google_tag_manager %}
|
21
|
+
{% include common/gtm-body.html %}
|
22
|
+
{% endif %}
|
23
|
+
|
17
24
|
<ul id="menu">
|
18
25
|
<li data-menuanchor="bio"><a href="#bio">Biography</a></li>
|
19
26
|
<li data-menuanchor="social"><a href="#social">Social Links</a></li>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
32
32
|
background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
33
33
|
background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
34
|
-
background: linear-gradient(
|
34
|
+
background: linear-gradient(to bottom, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%);
|
35
35
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 );
|
36
36
|
}
|
37
37
|
|
@@ -94,4 +94,4 @@
|
|
94
94
|
#fancybox-buttons a.btnDisabled {
|
95
95
|
opacity : 0.4;
|
96
96
|
cursor: default;
|
97
|
-
}
|
97
|
+
}
|
@@ -62,7 +62,7 @@
|
|
62
62
|
* http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
|
63
63
|
* http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
|
64
64
|
*/
|
65
|
-
(function ($) {
|
65
|
+
;(function ($) {
|
66
66
|
"use strict";
|
67
67
|
|
68
68
|
//Shortcut for fancyBox object
|
@@ -97,7 +97,9 @@
|
|
97
97
|
rel : 0,
|
98
98
|
hd : 1,
|
99
99
|
wmode : 'opaque',
|
100
|
-
enablejsapi : 1
|
100
|
+
enablejsapi : 1,
|
101
|
+
ps: 'docs',
|
102
|
+
controls: 1
|
101
103
|
},
|
102
104
|
type : 'iframe',
|
103
105
|
url : '//www.youtube.com/embed/$3'
|
@@ -196,4 +198,4 @@
|
|
196
198
|
}
|
197
199
|
};
|
198
200
|
|
199
|
-
}(jQuery));
|
201
|
+
}(jQuery));
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* });
|
15
15
|
*
|
16
16
|
*/
|
17
|
-
(function ($) {
|
17
|
+
;(function ($) {
|
18
18
|
//Shortcut for fancyBox object
|
19
19
|
var F = $.fancybox;
|
20
20
|
|
@@ -62,13 +62,14 @@
|
|
62
62
|
|
63
63
|
//Load each thumbnail
|
64
64
|
$.each(obj.group, function (i) {
|
65
|
-
var
|
65
|
+
var el = obj.group[ i ],
|
66
|
+
href = thumbSource( el );
|
66
67
|
|
67
68
|
if (!href) {
|
68
69
|
return;
|
69
70
|
}
|
70
71
|
|
71
|
-
$("<img />").load
|
72
|
+
$("<img />").on("load", function () {
|
72
73
|
var width = this.width,
|
73
74
|
height = this.height,
|
74
75
|
widthRatio, heightRatio, parent;
|
@@ -105,7 +106,9 @@
|
|
105
106
|
|
106
107
|
$(this).hide().appendTo(parent).fadeIn(300);
|
107
108
|
|
108
|
-
})
|
109
|
+
})
|
110
|
+
.attr('src', href)
|
111
|
+
.attr('title', el.title);
|
109
112
|
});
|
110
113
|
|
111
114
|
//Set initial width
|
@@ -159,4 +162,4 @@
|
|
159
162
|
}
|
160
163
|
}
|
161
164
|
|
162
|
-
}(jQuery));
|
165
|
+
}(jQuery));
|
@@ -21,6 +21,8 @@
|
|
21
21
|
position: absolute;
|
22
22
|
top: 0;
|
23
23
|
left: 0;
|
24
|
+
-webkit-transform: translate3d(0, 0, 0);
|
25
|
+
transform: translate3d(0, 0, 0);
|
24
26
|
z-index: 8020;
|
25
27
|
}
|
26
28
|
|
@@ -76,7 +78,7 @@
|
|
76
78
|
}
|
77
79
|
|
78
80
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
79
|
-
background-image: url(
|
81
|
+
background-image: url(fancybox_sprite.png);
|
80
82
|
}
|
81
83
|
|
82
84
|
#fancybox-loading {
|
@@ -94,7 +96,7 @@
|
|
94
96
|
#fancybox-loading div {
|
95
97
|
width: 44px;
|
96
98
|
height: 44px;
|
97
|
-
background: url(
|
99
|
+
background: url(fancybox_loading.gif) center center no-repeat;
|
98
100
|
}
|
99
101
|
|
100
102
|
.fancybox-close {
|
@@ -114,7 +116,7 @@
|
|
114
116
|
height: 100%;
|
115
117
|
cursor: pointer;
|
116
118
|
text-decoration: none;
|
117
|
-
background: transparent url(
|
119
|
+
background: transparent url(blank.gif); /* helps IE */
|
118
120
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
119
121
|
z-index: 8040;
|
120
122
|
}
|
@@ -156,7 +158,6 @@
|
|
156
158
|
position: absolute;
|
157
159
|
top: -99999px;
|
158
160
|
left: -99999px;
|
159
|
-
visibility: hidden;
|
160
161
|
max-width: 99999px;
|
161
162
|
max-height: 99999px;
|
162
163
|
overflow: visible !important;
|
@@ -165,7 +166,7 @@
|
|
165
166
|
/* Overlay helper */
|
166
167
|
|
167
168
|
.fancybox-lock {
|
168
|
-
overflow:
|
169
|
+
overflow: visible !important;
|
169
170
|
width: auto;
|
170
171
|
}
|
171
172
|
|
@@ -184,7 +185,7 @@
|
|
184
185
|
overflow: hidden;
|
185
186
|
display: none;
|
186
187
|
z-index: 8010;
|
187
|
-
background: url(
|
188
|
+
background: url(fancybox_overlay.png);
|
188
189
|
}
|
189
190
|
|
190
191
|
.fancybox-overlay-fixed {
|
@@ -263,12 +264,12 @@
|
|
263
264
|
only screen and (min-device-pixel-ratio: 1.5){
|
264
265
|
|
265
266
|
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
266
|
-
background-image: url(
|
267
|
+
background-image: url(fancybox_sprite@2x.png);
|
267
268
|
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
268
269
|
}
|
269
270
|
|
270
271
|
#fancybox-loading div {
|
271
|
-
background-image: url(
|
272
|
+
background-image: url(fancybox_loading@2x.gif);
|
272
273
|
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
273
274
|
}
|
274
275
|
}
|
@@ -1,16 +1,16 @@
|
|
1
1
|
/*!
|
2
2
|
* fancyBox - jQuery Plugin
|
3
|
-
* version: 2.1.
|
4
|
-
*
|
3
|
+
* version: 2.1.7 (Tue, 28 Feb 2017)
|
4
|
+
* requires jQuery v1.6 or later
|
5
5
|
*
|
6
6
|
* Examples at http://fancyapps.com/fancybox/
|
7
7
|
* License: www.fancyapps.com/fancybox/#license
|
8
8
|
*
|
9
|
-
* Copyright
|
9
|
+
* Copyright 2017 fancyapps.com
|
10
10
|
*
|
11
11
|
*/
|
12
12
|
|
13
|
-
(function (window, document, $, undefined) {
|
13
|
+
;(function (window, document, $, undefined) {
|
14
14
|
"use strict";
|
15
15
|
|
16
16
|
var H = $("html"),
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
$.extend(F, {
|
52
52
|
// The current version of fancyBox
|
53
|
-
version: '2.1.
|
53
|
+
version: '2.1.7',
|
54
54
|
|
55
55
|
defaults: {
|
56
56
|
padding : 15,
|
@@ -143,7 +143,8 @@
|
|
143
143
|
error : '<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
144
144
|
closeBtn : '<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',
|
145
145
|
next : '<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',
|
146
|
-
prev : '<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'
|
146
|
+
prev : '<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>',
|
147
|
+
loading : '<div id="fancybox-loading"><div></div></div>'
|
147
148
|
},
|
148
149
|
|
149
150
|
// Properties for each animation type
|
@@ -261,7 +262,7 @@
|
|
261
262
|
if (isQuery(element)) {
|
262
263
|
obj = {
|
263
264
|
href : element.data('fancybox-href') || element.attr('href'),
|
264
|
-
title : element.data('fancybox-title') || element.attr('title'),
|
265
|
+
title : $('<div/>').text( element.data('fancybox-title') || element.attr('title') || '' ).html(),
|
265
266
|
isDom : true,
|
266
267
|
element : element
|
267
268
|
};
|
@@ -363,12 +364,16 @@
|
|
363
364
|
cancel: function () {
|
364
365
|
var coming = F.coming;
|
365
366
|
|
366
|
-
if (
|
367
|
+
if (coming && false === F.trigger('onCancel')) {
|
367
368
|
return;
|
368
369
|
}
|
369
370
|
|
370
371
|
F.hideLoading();
|
371
372
|
|
373
|
+
if (!coming) {
|
374
|
+
return;
|
375
|
+
}
|
376
|
+
|
372
377
|
if (F.ajaxLoad) {
|
373
378
|
F.ajaxLoad.abort();
|
374
379
|
}
|
@@ -546,7 +551,7 @@
|
|
546
551
|
},
|
547
552
|
|
548
553
|
update: function (e) {
|
549
|
-
var type = (e && e.type),
|
554
|
+
var type = (e && e.originalEvent && e.originalEvent.type),
|
550
555
|
anyway = !type || type === 'orientationchange';
|
551
556
|
|
552
557
|
if (anyway) {
|
@@ -610,7 +615,7 @@
|
|
610
615
|
|
611
616
|
F.hideLoading();
|
612
617
|
|
613
|
-
el = $(
|
618
|
+
el = $(F.opts.tpl.loading).click(F.cancel).appendTo('body');
|
614
619
|
|
615
620
|
// If user will press the escape-button, the request will be canceled
|
616
621
|
D.bind('keydown.loading', function(e) {
|
@@ -630,6 +635,8 @@
|
|
630
635
|
left : (viewport.w * 0.5) + viewport.x
|
631
636
|
});
|
632
637
|
}
|
638
|
+
|
639
|
+
F.trigger('onLoading');
|
633
640
|
},
|
634
641
|
|
635
642
|
getViewport: function () {
|
@@ -639,7 +646,7 @@
|
|
639
646
|
y: W.scrollTop()
|
640
647
|
};
|
641
648
|
|
642
|
-
if (locked) {
|
649
|
+
if (locked && locked.length) {
|
643
650
|
rez.w = locked[0].clientWidth;
|
644
651
|
rez.h = locked[0].clientHeight;
|
645
652
|
|
@@ -741,24 +748,22 @@
|
|
741
748
|
trigger: function (event, o) {
|
742
749
|
var ret, obj = o || F.coming || F.current;
|
743
750
|
|
744
|
-
if (
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
if ($.isFunction( obj[event] )) {
|
749
|
-
ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1));
|
750
|
-
}
|
751
|
+
if (obj) {
|
752
|
+
if ($.isFunction( obj[event] )) {
|
753
|
+
ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1));
|
754
|
+
}
|
751
755
|
|
752
|
-
|
753
|
-
|
754
|
-
|
756
|
+
if (ret === false) {
|
757
|
+
return false;
|
758
|
+
}
|
755
759
|
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
760
|
+
if (obj.helpers) {
|
761
|
+
$.each(obj.helpers, function (helper, opts) {
|
762
|
+
if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) {
|
763
|
+
F.helpers[helper][event]($.extend(true, {}, F.helpers[helper].defaults, opts), obj);
|
764
|
+
}
|
765
|
+
});
|
766
|
+
}
|
762
767
|
}
|
763
768
|
|
764
769
|
D.trigger(event);
|
@@ -1117,7 +1122,7 @@
|
|
1117
1122
|
break;
|
1118
1123
|
|
1119
1124
|
case 'image':
|
1120
|
-
content = current.tpl.image.replace(
|
1125
|
+
content = current.tpl.image.replace(/\{href\}/g, href);
|
1121
1126
|
break;
|
1122
1127
|
|
1123
1128
|
case 'swf':
|
@@ -1217,7 +1222,7 @@
|
|
1217
1222
|
if (current.type === 'iframe') {
|
1218
1223
|
iframe = current.content;
|
1219
1224
|
|
1220
|
-
if (current.autoHeight && iframe.data('ready') === 1) {
|
1225
|
+
if (current.autoHeight && iframe && iframe.data('ready') === 1) {
|
1221
1226
|
try {
|
1222
1227
|
if (iframe[0].contentWindow.document.location) {
|
1223
1228
|
inner.width( origWidth ).height(9999);
|
@@ -1426,7 +1431,7 @@
|
|
1426
1431
|
|
1427
1432
|
F.isOpen = F.isOpened = true;
|
1428
1433
|
|
1429
|
-
F.wrap.css('overflow', 'visible').addClass('fancybox-opened');
|
1434
|
+
F.wrap.css('overflow', 'visible').addClass('fancybox-opened').hide().show(0);
|
1430
1435
|
|
1431
1436
|
F.update();
|
1432
1437
|
|
@@ -1465,12 +1470,13 @@
|
|
1465
1470
|
|
1466
1471
|
// Stop the slideshow if this is the last item
|
1467
1472
|
if (!current.loop && current.index === current.group.length - 1) {
|
1473
|
+
|
1468
1474
|
F.play( false );
|
1469
1475
|
|
1470
1476
|
} else if (F.opts.autoPlay && !F.player.isActive) {
|
1471
1477
|
F.opts.autoPlay = false;
|
1472
1478
|
|
1473
|
-
F.play();
|
1479
|
+
F.play(true);
|
1474
1480
|
}
|
1475
1481
|
},
|
1476
1482
|
|
@@ -1703,13 +1709,17 @@
|
|
1703
1709
|
|
1704
1710
|
// Public methods
|
1705
1711
|
create : function(opts) {
|
1712
|
+
var parent;
|
1713
|
+
|
1706
1714
|
opts = $.extend({}, this.defaults, opts);
|
1707
1715
|
|
1708
1716
|
if (this.overlay) {
|
1709
1717
|
this.close();
|
1710
1718
|
}
|
1711
1719
|
|
1712
|
-
|
1720
|
+
parent = F.coming ? F.coming.parent : opts.parent;
|
1721
|
+
|
1722
|
+
this.overlay = $('<div class="fancybox-overlay"></div>').appendTo( parent && parent.length ? parent : 'body' );
|
1713
1723
|
this.fixed = false;
|
1714
1724
|
|
1715
1725
|
if (opts.fixed && F.defaults.fixed) {
|
@@ -1755,19 +1765,14 @@
|
|
1755
1765
|
},
|
1756
1766
|
|
1757
1767
|
close : function() {
|
1758
|
-
var scrollV, scrollH;
|
1759
|
-
|
1760
1768
|
W.unbind('resize.overlay');
|
1761
1769
|
|
1762
1770
|
if (this.el.hasClass('fancybox-lock')) {
|
1763
1771
|
$('.fancybox-margin').removeClass('fancybox-margin');
|
1764
1772
|
|
1765
|
-
scrollV = W.scrollTop();
|
1766
|
-
scrollH = W.scrollLeft();
|
1767
|
-
|
1768
1773
|
this.el.removeClass('fancybox-lock');
|
1769
1774
|
|
1770
|
-
W.scrollTop( scrollV ).scrollLeft( scrollH );
|
1775
|
+
W.scrollTop( this.scrollV ).scrollLeft( this.scrollH );
|
1771
1776
|
}
|
1772
1777
|
|
1773
1778
|
$('.fancybox-overlay').remove().hide();
|
@@ -1812,10 +1817,6 @@
|
|
1812
1817
|
}
|
1813
1818
|
|
1814
1819
|
if (opts.locked && this.fixed && obj.fixed) {
|
1815
|
-
if (!overlay) {
|
1816
|
-
this.margin = D.height() > W.height() ? $('html').css('margin-right').replace("px", "") : false;
|
1817
|
-
}
|
1818
|
-
|
1819
1820
|
obj.locked = this.overlay.append( obj.wrap );
|
1820
1821
|
obj.fixed = false;
|
1821
1822
|
}
|
@@ -1826,23 +1827,21 @@
|
|
1826
1827
|
},
|
1827
1828
|
|
1828
1829
|
beforeShow : function(opts, obj) {
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
if (this.margin !== false) {
|
1833
|
-
$('*').filter(function(){
|
1830
|
+
if (obj.locked && !this.el.hasClass('fancybox-lock')) {
|
1831
|
+
if (this.fixPosition !== false) {
|
1832
|
+
$('*:not(object)').filter(function(){
|
1834
1833
|
return ($(this).css('position') === 'fixed' && !$(this).hasClass("fancybox-overlay") && !$(this).hasClass("fancybox-wrap") );
|
1835
1834
|
}).addClass('fancybox-margin');
|
1836
|
-
|
1837
|
-
this.el.addClass('fancybox-margin');
|
1838
1835
|
}
|
1839
1836
|
|
1840
|
-
|
1841
|
-
|
1837
|
+
this.el.addClass('fancybox-margin');
|
1838
|
+
|
1839
|
+
this.scrollV = W.scrollTop();
|
1840
|
+
this.scrollH = W.scrollLeft();
|
1842
1841
|
|
1843
1842
|
this.el.addClass('fancybox-lock');
|
1844
1843
|
|
1845
|
-
W.scrollTop( scrollV ).scrollLeft( scrollH );
|
1844
|
+
W.scrollTop( this.scrollV ).scrollLeft( this.scrollH );
|
1846
1845
|
}
|
1847
1846
|
|
1848
1847
|
this.open(opts);
|
@@ -1857,7 +1856,6 @@
|
|
1857
1856
|
afterClose: function (opts) {
|
1858
1857
|
// Remove overlay if exists and fancyBox is not opening
|
1859
1858
|
// (e.g., it is not being open using afterClose callback)
|
1860
|
-
//if (this.overlay && !F.isActive) {
|
1861
1859
|
if (this.overlay && !F.coming) {
|
1862
1860
|
this.overlay.fadeOut(opts.speedOut, $.proxy( this.close, this ));
|
1863
1861
|
}
|
@@ -2017,4 +2015,4 @@
|
|
2017
2015
|
$("<style type='text/css'>.fancybox-margin{margin-right:" + (w2 - w1) + "px;}</style>").appendTo("head");
|
2018
2016
|
});
|
2019
2017
|
|
2020
|
-
}(window, document, jQuery));
|
2018
|
+
}(window, document, jQuery));
|