Skip to content

Commit

Permalink
dist
Browse files Browse the repository at this point in the history
  • Loading branch information
benmarch committed Mar 29, 2016
1 parent d38148b commit ba469d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions dist/angular-ui-tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@
angular.extend(position, viewportPosition);
}

console.log(position);

viewWindow.top.css({
position: isFixedElement ? 'fixed' : 'absolute',
top: 0,
Expand Down Expand Up @@ -165,7 +163,7 @@
scrollOffset: 100,
scrollIntoView: true,
useUiRouter: false,
hotkeys: false,
useHotkeys: false,

onStart: null,
onEnd: null,
Expand Down Expand Up @@ -621,7 +619,7 @@
setCurrentStep(step);
tourStatus = statuses.ON;
self.emit('started', step);
if (options.hotkeys) {
if (options.useHotkeys) {
setHotKeys();
}
return self.showStep(getCurrentStep());
Expand All @@ -647,7 +645,7 @@
self.emit('ended');
tourStatus = statuses.OFF;

if (options.hotkeys) {
if (options.useHotkeys) {
unsetHotKeys();
}

Expand Down Expand Up @@ -824,7 +822,7 @@
name: attrs.uiTour
},
events = 'onReady onStart onEnd onShow onShown onHide onHidden onNext onPrev onPause onResume'.split(' '),
properties = 'placement animation popupDelay closePopupDelay enable appendToBody tooltipClass orphan backdrop scrollOffset scrollIntoView useUiRouter hotkeys'.split(' ');
properties = 'placement animation popupDelay closePopupDelay enable appendToBody tooltipClass orphan backdrop scrollOffset scrollIntoView useUiRouter useHotkeys'.split(' ');

//Pass interpolated values through
TourHelpers.attachInterpolatedValues(attrs, tour, properties, 'uiTour');
Expand Down
Loading

0 comments on commit ba469d2

Please sign in to comment.