Run client-format.

This commit is contained in:
Dannon Baker
2017-12-07 15:58:02 -05:00
parent a2cf121e34
commit d68dd305d8
+9 -12
View File
@@ -97,18 +97,15 @@ var Tours = Backbone.Collection.extend({
});
let giveTourWithData = data => {
let hookedTourData = hooked_tour_from_data(data);
sessionStorage.setItem("activeGalaxyTour", JSON.stringify(data));
// Store tour steps in sessionStorage to easily persist w/o hackery.
let tour = new Tour(
_.extend({steps: hookedTourData.steps},
tour_opts)
);
// Always clean restart, since this is a new, explicit execution.
tour.init();
tour.goTo(0);
tour.restart();
return tour;
let hookedTourData = hooked_tour_from_data(data);
sessionStorage.setItem("activeGalaxyTour", JSON.stringify(data));
// Store tour steps in sessionStorage to easily persist w/o hackery.
let tour = new Tour(_.extend({ steps: hookedTourData.steps }, tour_opts));
// Always clean restart, since this is a new, explicit execution.
tour.init();
tour.goTo(0);
tour.restart();
return tour;
};
var giveTourById = tour_id => {