I am trying to implement the add-on, but I can't get it to work properly. When I add steps to the tour, including the default next button, I get a console error when it hits _this.getElementForCurrentStep()
:
this.get('tour').set('steps', [
{
id: 'tour-step-1',
options: {
title: 'Step 1 title!',
text: ['Step 1 text.'],
builtInButtons: [
{
classes: 'btn',
text: 'Exit',
type: 'cancel'
},
{
classes: 'btn btn-success',
text: 'Next',
type: 'next'
}
]
}
},
// Step 2
{
id: 'tour-step-2',
options: {
attachTo: '.main-menu bottom',
title: 'Step 2 title',
text: ['Step 2 text'],
builtInButtons: [
{
classes: 'btn',
text: 'Exit',
type: 'cancel'
},
{
classes: 'btn btn-success',
text: 'Next',
type: 'next'
}
]
}
}
]);
"ember": "2.2.0",
"ember-data": "2.2.1"