Skip to content

Commit ff27a1f

Browse files
committed
Issue #23 org repo, let tourstep put itself on scoop for hook.
1 parent 64bf72b commit ff27a1f

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

app/tour_step_directive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191

9292
//Add step to tour
9393
templateReady.then(function () {
94-
ctrl.addStep(step);
94+
ctrl.addStep(step);
95+
scope.step = step;
9596
});
9697

9798
}

demo/angular-bootstrap-tour.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@
498498

499499
//Add step to tour
500500
templateReady.then(function () {
501-
ctrl.addStep(step);
501+
ctrl.addStep(step);
502+
scope.step = step;
502503
});
503504

504505
}

dist/angular-bootstrap-tour.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@
498498

499499
//Add step to tour
500500
templateReady.then(function () {
501-
ctrl.addStep(step);
501+
ctrl.addStep(step);
502+
scope.step = step;
502503
});
503504

504505
}

dist/angular-bootstrap-tour.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)