aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/doc_widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/templates/doc_widgets.js')
-rw-r--r--docs/src/templates/doc_widgets.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js
index 2bcbbfed..0e12fee8 100644
--- a/docs/src/templates/doc_widgets.js
+++ b/docs/src/templates/doc_widgets.js
@@ -169,7 +169,7 @@
});
- angular.directive('doc:tutorial-nav', function(step) {
+ angular.directive('doc:tutorial-nav', function(step) {
return function(element) {
var prevStep, codeDiff, nextStep,
content;
@@ -185,7 +185,7 @@
nextStep = 'the_end';
codeDiff = 'step-10...step-11';
} else {
- prevStep = 'step_' + pad(step - 1)
+ prevStep = 'step_' + pad(step - 1);
nextStep = 'step_' + pad(step + 1);
codeDiff = 'step-' + step + '...step-' + step;
}
@@ -199,7 +199,7 @@
element.attr('id', 'tutorial-nav');
element.append(content);
- }
+ };
function pad(step) {
return (step < 10) ? ('0' + step) : step;