From d18f0f77cd70dbeab4b65d5d259553720a5963fd Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 18 Aug 2014 09:30:13 -0600 Subject: [PATCH] test(view): amend some broken tests --- js/angular/directive/view.js | 1 - js/views/scrollView.js | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/js/angular/directive/view.js b/js/angular/directive/view.js index 88a89baa79..b0fd77bc47 100644 --- a/js/angular/directive/view.js +++ b/js/angular/directive/view.js @@ -37,7 +37,6 @@ IonicModule priority: 1000, require: ['^?ionNavBar', '^?ionModal'], compile: function(tElement, tAttrs, transclude) { - if(1) return; tElement.addClass('pane'); tElement[0].removeAttribute('title'); diff --git a/js/views/scrollView.js b/js/views/scrollView.js index 2a1969ba99..79f347d010 100644 --- a/js/views/scrollView.js +++ b/js/views/scrollView.js @@ -890,6 +890,9 @@ ionic.views.Scroll = ionic.views.View.inherit({ delete this.__content; delete this.__indicatorX; delete this.__indicatorY; + + this.resize = this.scrollTo = this.zoomTo = + this.__scrollingComplete = angular.noop; }, /** Create a scroll bar div with the given direction **/ @@ -1089,7 +1092,7 @@ ionic.views.Scroll = ionic.views.View.inherit({ __scrollingComplete: function() { var self = this; self.options.scrollingComplete(); - ionic.tap.removeClonedInputs(container, self); + ionic.tap.removeClonedInputs(self.__container, self); self.__fadeScrollbars('out'); },