]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Remove merge conflicts from the built JS file. Fixes #1281. (#1282)
authorJen Garcia <jen@haverstack.com>
Tue, 10 Oct 2017 14:44:10 +0000 (10:44 -0400)
committerJeremy Thomas <bbxdesign@gmail.com>
Tue, 10 Oct 2017 14:44:10 +0000 (15:44 +0100)
docs/lib/main.js

index 3a97d28bd52f6425971d602dddccbce1ea90eb11..a8969d1df39c2cadfb6794b9ad54f02a99db9cad 100644 (file)
@@ -109,114 +109,12 @@ document.addEventListener('DOMContentLoaded', function () {
       var expandEl = '<button class="button is-small bd-expand">Expand</button>';
       $el.insertAdjacentHTML('beforeend', copyEl);
 
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Fix rebase
-=======
-=======
->>>>>>> Add show code
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Fix rebase
-=======
->>>>>>> Build assets
       var $parent = $el.parentNode;
       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>';
         $el.insertAdjacentHTML('beforeend', showEl);
       } else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
         $el.insertAdjacentHTML('beforeend', expandEl);
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
-      if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
-        $el.insertAdjacentHTML('beforeend', expandEl);
-      }
-
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-      var $parent = $el.parentNode;
-      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>';
-        $el.insertAdjacentHTML('beforeend', showEl);
-<<<<<<< HEAD
->>>>>>> Add show code
-=======
-      } else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
-        $el.insertAdjacentHTML('beforeend', expandEl);
->>>>>>> Improve snippet
-=======
-<<<<<<< HEAD
-=======
->>>>>>> Improve snippet
-=======
-=======
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-      var $parent = $el.parentNode;
-      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>';
-        $el.insertAdjacentHTML('beforeend', showEl);
-<<<<<<< HEAD
->>>>>>> Add show code
-<<<<<<< HEAD
->>>>>>> Add show code
-=======
-=======
-      } else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
-        $el.insertAdjacentHTML('beforeend', expandEl);
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-=======
-<<<<<<< HEAD
-=======
-=======
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-      var $parent = $el.parentNode;
-      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>';
-        $el.insertAdjacentHTML('beforeend', showEl);
-<<<<<<< HEAD
->>>>>>> Add show code
-<<<<<<< HEAD
->>>>>>> Add show code
-<<<<<<< HEAD
->>>>>>> Add show code
-=======
-=======
-=======
-      } else if ($el.firstElementChild.scrollHeight > 480 && $el.firstElementChild.clientHeight <= 480) {
-        $el.insertAdjacentHTML('beforeend', expandEl);
->>>>>>> Improve snippet
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-=======
->>>>>>> Fix rebase
->>>>>>> Fix rebase
-=======
->>>>>>> Build assets
       }
 
       itemsProcessed++;
@@ -247,107 +145,11 @@ document.addEventListener('DOMContentLoaded', function () {
       });
     });
 
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Add show code
-=======
-=======
->>>>>>> Fix rebase
-=======
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-=======
->>>>>>> Build assets
     var $highlightShows = getAll('.highlight .bd-show');
 
     $highlightShows.forEach(function ($el) {
       $el.addEventListener('click', function () {
         $el.parentNode.parentNode.classList.remove('bd-is-more-clipped');
-<<<<<<< HEAD
-=======
-    var $highlightShows = getAll('.bd-highlight-clipped .bd-show');
-
-    $highlightShows.forEach(function ($el) {
-      $el.addEventListener('click', function () {
-        $el.parentNode.classList.remove('bd-is-clipped');
->>>>>>> Add show code
-=======
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-=======
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-=======
-=======
->>>>>>> Add show code
->>>>>>> Add show code
-=======
-=======
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-<<<<<<< HEAD
->>>>>>> Improve snippet
-=======
-=======
->>>>>>> Fix rebase
->>>>>>> Fix rebase
-    var $highlightShows = getAll('.highlight .bd-show');
-
-    $highlightShows.forEach(function ($el) {
-      $el.addEventListener('click', function () {
-        $el.parentNode.parentNode.classList.remove('bd-is-more-clipped');
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
-<<<<<<< HEAD
->>>>>>> Improve snippet
-=======
-=======
-    var $highlightShows = getAll('.bd-highlight-clipped .bd-show');
-
-    $highlightShows.forEach(function ($el) {
-      $el.addEventListener('click', function () {
-        $el.parentNode.classList.remove('bd-is-clipped');
->>>>>>> Add show code
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
-=======
->>>>>>> Fix rebase
->>>>>>> Improve snippet
-=======
-=======
-    var $highlightShows = getAll('.bd-highlight-clipped .bd-show');
-
-    $highlightShows.forEach(function ($el) {
-      $el.addEventListener('click', function () {
-        $el.parentNode.classList.remove('bd-is-clipped');
->>>>>>> Add show code
->>>>>>> Add show code
-=======
->>>>>>> Improve snippet
->>>>>>> Improve snippet
-=======
->>>>>>> Fix rebase
-=======
->>>>>>> Build assets
       });
     });
   }