From d7f3493079bc7a3e920a75d9a2893e4822fe7c0a Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Mon, 10 Mar 2014 19:57:46 -0600 Subject: [PATCH] docs(ionicBar): fix grammar --- js/ext/angular/src/directive/ionicBar.js | 4 ++-- js/ext/angular/test/directive/ionicSlideBox.unit.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ext/angular/src/directive/ionicBar.js b/js/ext/angular/src/directive/ionicBar.js index 1528b3631a..f2337947d2 100644 --- a/js/ext/angular/src/directive/ionicBar.js +++ b/js/ext/angular/src/directive/ionicBar.js @@ -24,8 +24,8 @@ angular.module('ionic.ui.header', ['ngAnimate', 'ngSanitize']) * provide dynamic layout features such as auto-title centering and animation. * They are also used by the Views and Navigation Controller to animate a title * on navigation and toggle a back button. - * * - * The main header bar feature provide is auto title centering. + * + * The main header bar feature provided is auto title centering. * In this situation, the title text will center itself until either the * left or right button content is too wide for the label to center. * In that case, it will slide left or right until it can fit. diff --git a/js/ext/angular/test/directive/ionicSlideBox.unit.js b/js/ext/angular/test/directive/ionicSlideBox.unit.js index c4199417e0..33a5208ae2 100644 --- a/js/ext/angular/test/directive/ionicSlideBox.unit.js +++ b/js/ext/angular/test/directive/ionicSlideBox.unit.js @@ -62,6 +62,6 @@ describe('Ionic Angular Slide Box', function() { ')(rootScope); var scope = el.scope(); - expect(scope.slideBox.getPos()).toBe(2); + expect(scope.slideBox.currentIndex()).toBe(2); }); });