mirror of
https://github.com/jgthms/bulma
synced 2026-03-22 21:14:30 -07:00
Build assets
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -116,6 +116,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
=======
|
=======
|
||||||
>>>>>>> Add show code
|
>>>>>>> Add show code
|
||||||
=======
|
=======
|
||||||
@@ -132,6 +133,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
>>>>>>> Improve snippet
|
>>>>>>> Improve snippet
|
||||||
=======
|
=======
|
||||||
>>>>>>> Fix rebase
|
>>>>>>> Fix rebase
|
||||||
|
=======
|
||||||
|
>>>>>>> Build assets
|
||||||
var $parent = $el.parentNode;
|
var $parent = $el.parentNode;
|
||||||
if ($parent && $parent.classList.contains('bd-is-more')) {
|
if ($parent && $parent.classList.contains('bd-is-more')) {
|
||||||
var showEl = '<button class="bd-show"><div><span class="icon"><i class="fa fa-code"></i></span> <strong>Show code</strong></div></button>';
|
var showEl = '<button class="bd-show"><div><span class="icon"><i class="fa fa-code"></i></span> <strong>Show code</strong></div></button>';
|
||||||
@@ -139,6 +142,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
} else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
} else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
||||||
$el.insertAdjacentHTML('beforeend', expandEl);
|
$el.insertAdjacentHTML('beforeend', expandEl);
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
=======
|
=======
|
||||||
if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
|
||||||
$el.insertAdjacentHTML('beforeend', expandEl);
|
$el.insertAdjacentHTML('beforeend', expandEl);
|
||||||
@@ -211,6 +215,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
=======
|
=======
|
||||||
>>>>>>> Fix rebase
|
>>>>>>> Fix rebase
|
||||||
>>>>>>> Fix rebase
|
>>>>>>> Fix rebase
|
||||||
|
=======
|
||||||
|
>>>>>>> Build assets
|
||||||
}
|
}
|
||||||
|
|
||||||
itemsProcessed++;
|
itemsProcessed++;
|
||||||
@@ -248,6 +254,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
|
<<<<<<< HEAD
|
||||||
=======
|
=======
|
||||||
>>>>>>> Improve snippet
|
>>>>>>> Improve snippet
|
||||||
=======
|
=======
|
||||||
@@ -258,11 +265,14 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
=======
|
=======
|
||||||
>>>>>>> Improve snippet
|
>>>>>>> Improve snippet
|
||||||
>>>>>>> Improve snippet
|
>>>>>>> Improve snippet
|
||||||
|
=======
|
||||||
|
>>>>>>> Build assets
|
||||||
var $highlightShows = getAll('.highlight .bd-show');
|
var $highlightShows = getAll('.highlight .bd-show');
|
||||||
|
|
||||||
$highlightShows.forEach(function ($el) {
|
$highlightShows.forEach(function ($el) {
|
||||||
$el.addEventListener('click', function () {
|
$el.addEventListener('click', function () {
|
||||||
$el.parentNode.parentNode.classList.remove('bd-is-more-clipped');
|
$el.parentNode.parentNode.classList.remove('bd-is-more-clipped');
|
||||||
|
<<<<<<< HEAD
|
||||||
=======
|
=======
|
||||||
var $highlightShows = getAll('.bd-highlight-clipped .bd-show');
|
var $highlightShows = getAll('.bd-highlight-clipped .bd-show');
|
||||||
|
|
||||||
@@ -336,6 +346,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
>>>>>>> Improve snippet
|
>>>>>>> Improve snippet
|
||||||
=======
|
=======
|
||||||
>>>>>>> Fix rebase
|
>>>>>>> Fix rebase
|
||||||
|
=======
|
||||||
|
>>>>>>> Build assets
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user