From 07b8b93e96c5c0bbfcb0889ec9347827809ab252 Mon Sep 17 00:00:00 2001 From: MinRK <benjaminrk@gmail.com> Date: Wed, 12 Mar 2014 16:06:38 -0700 Subject: [PATCH 1/2] install bootstrap-tour css --- setupbase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setupbase.py b/setupbase.py index 435ad640a..2b41b3bb2 100644 --- a/setupbase.py +++ b/setupbase.py @@ -149,6 +149,7 @@ def find_package_data(): static_data.extend([ pjoin(components, "backbone", "backbone-min.js"), pjoin(components, "bootstrap", "bootstrap", "js", "bootstrap.min.js"), + pjoin(components, "bootstrap-tour", "build", "css", "bootstrap-tour.min.css"), pjoin(components, "bootstrap-tour", "build", "js", "bootstrap-tour.min.js"), pjoin(components, "font-awesome", "font", "*.*"), pjoin(components, "google-caja", "html-css-sanitizer-minified.js"), From 1dc113a9cb68a5c230b89b7acbb3d9a673696bd3 Mon Sep 17 00:00:00 2001 From: Paul Ivanov <pi@berkeley.edu> Date: Thu, 13 Mar 2014 13:19:23 -0700 Subject: [PATCH 2/2] closes #5336 --- IPython/html/static/notebook/js/tour.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/tour.js b/IPython/html/static/notebook/js/tour.js index 6129a447c..dbbae4079 100644 --- a/IPython/html/static/notebook/js/tour.js +++ b/IPython/html/static/notebook/js/tour.js @@ -155,11 +155,12 @@ IPython = (function (IPython) { steps: this.tour_steps, template: tour_style }); - this.tour.init(); + }; NotebookTour.prototype.start = function () { console.log("let's start the tour"); + this.tour.init(); this.tour.start(); if (this.tour.ended()) {