Commit b4ba9cba authored by jkerr's avatar jkerr
Browse files

V1.0 Push

parent 67fcd5d1
Pipeline #2516 passed with stage
in 3 seconds
......@@ -2,7 +2,6 @@ var GetBookings = (function () {
pub = {};
/** When the search button is pushed**/
pub.setup = function() {
console.log("grsgs");
$.getJSON("scripts/data/bookings.json", function(data) {
for (i = 0; i < data.bookings.booking.length; i++) {
......
......@@ -6,7 +6,6 @@ var Reviews = (function() {
pub.setup = function () {
$.getJSON("scripts/data/reviews.json", function (data) {
reviews = data;
console.log(data);
$("#reviews").find("div").css("opacity", 0);
nextReview();
reviewLoop();
......@@ -29,7 +28,6 @@ var Reviews = (function() {
$("#reviews").find("#reviewer").text(newReview.author);
cReview += (cReview < reviews.length-1 ? 1 : 1-(reviews.length));
console.log(cReview);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment