test(view): amend some broken tests

This commit is contained in:
Andrew
2014-08-18 09:30:13 -06:00
parent c5966bba05
commit d18f0f77cd
2 changed files with 4 additions and 2 deletions

View File

@@ -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');

View File

@@ -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');
},