docs/website/js/buildroot.js: fix unterminated statements
authorAdam Duskett <Aduskett@gmail.com>
Mon, 4 Feb 2019 14:27:31 +0000 (15:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 5 Feb 2019 08:43:27 +0000 (09:43 +0100)
Some statements are missing their semicolons.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Acked-by: <angelo@amarulasolutions.com>
Tested-by: <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
docs/website/js/buildroot.js

index 1b08f9b4df3f9cedd4f1d4dda71a8b1d06c21694..48fafa67ac3efa8d9533caf496471bf0e07b666f 100644 (file)
@@ -19,7 +19,7 @@ function load_activity(feedurl, divid) {
             let div = document.createElement("p");
             let link = document.createElement("a");
             let d = new Date(entry.published);
-            let data = '[' + d.toLocaleDateString() + '] ' + entry.title
+            let data = '[' + d.toLocaleDateString() + '] ' + entry.title;
             let text = document.createTextNode(data);
             link.appendChild(text);
             link.title = entry.title;
@@ -58,7 +58,7 @@ let clipboard = new Clipboard('.btn');
 
 $(function () {
   $('[data-toggle="tooltip"]').tooltip()
-})
+});
 
 clipboard.on('success', function(e) {
     e.clearSelection();
@@ -83,7 +83,7 @@ $(function() {
 jQuery(document).ready(function($) {
     let url = window.location.href;
     // Get the basename of the URL
-    url = url.split(/[\\/]/).pop()
+    url = url.split(/[\\/]/).pop();
     $('.nav a[href="/' + url + '"]').parent().addClass('active');
 
     load_activity("http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-busybox-ft2.xml", "mailing-list-activity");