From 53b2254ea70019937463d8e079e1991b3d3d1d8b Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 2 Apr 2012 08:32:30 -0700 Subject: docs(tutorial): update tutorial intro + steps 0-3 also contains all kinds of fixes that I had to make in the docs app to get the tutorial to render correctly --- docs/src/templates/doc_widgets.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/src/templates/doc_widgets.js') diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js index 50de4ed3..bf49697d 100644 --- a/docs/src/templates/doc_widgets.js +++ b/docs/src/templates/doc_widgets.js @@ -291,14 +291,14 @@ angular.module('ngdocs.directives', [], function($compileProvider) { } else { prevStep = 'step_' + pad(step - 1); nextStep = 'step_' + pad(step + 1); - codeDiff = 'step-' + step + '...step-' + step; + codeDiff = 'step-' + (step-1) + '...step-' + step; } content = angular.element( - '