From f0321367f86fa997630a20aeefd4b729f67a0f84 Mon Sep 17 00:00:00 2001 From: jfederico Date: Tue, 15 Aug 2017 19:03:17 +0000 Subject: [PATCH 1/3] Fixed issue with circle-ci not able to use env variables --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 014df8c7..0ad4951c 100644 --- a/circle.yml +++ b/circle.yml @@ -14,4 +14,4 @@ deployment: test: pre: - - cp env .env + - cp sample.env .env From ad3c07d1dee8ac7e78fd68a4cd3abf7e4ac01982 Mon Sep 17 00:00:00 2001 From: jfederico Date: Tue, 15 Aug 2017 19:10:34 +0000 Subject: [PATCH 2/3] Fixed issues reported by Scrutinizer --- app/assets/javascripts/landing.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/landing.js b/app/assets/javascripts/landing.js index ae2fe3c5..0eadd02b 100644 --- a/app/assets/javascripts/landing.js +++ b/app/assets/javascripts/landing.js @@ -14,10 +14,12 @@ // You should have received a copy of the GNU Lesser General Public License along // with BigBlueButton; if not, see . +/** global: Meeting */ + (function() { var waitForModerator = function(url) { - localStorage.setItem("waitingName", $('.meeting-user-name').val()); + Window.localStorage.setItem("waitingName", $('.meeting-user-name').val()); $.post(url + "/wait", {name: $('.meeting-user-name').val()}, function(html) { $(".center-panel-wrapper").html(html); }); @@ -33,7 +35,7 @@ Meeting.clear(); var nameInput = $('.meeting-user-name'); if (!nameInput.val()) { - var lastName = localStorage.getItem('lastJoinedName'); + var lastName = Window.localStorage.getItem('lastJoinedName'); if (lastName !== 'undefined') { nameInput.val(lastName); } From 4d915b6c1fdc2e2499b87c43f8ed5f99ef2151f6 Mon Sep 17 00:00:00 2001 From: jfederico Date: Tue, 15 Aug 2017 19:12:24 +0000 Subject: [PATCH 3/3] Fixed issues reported by Scrutinizer --- app/assets/javascripts/landing.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/landing.js b/app/assets/javascripts/landing.js index 0eadd02b..b2bcc9f0 100644 --- a/app/assets/javascripts/landing.js +++ b/app/assets/javascripts/landing.js @@ -15,6 +15,10 @@ // with BigBlueButton; if not, see . /** global: Meeting */ +/** global: PreviousMeetings */ +/** global: QRCode */ +/** global: Recordings */ +/** global: Turbolinks */ (function() {