mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(view): amend some broken tests
This commit is contained in:
1
js/angular/directive/view.js
vendored
1
js/angular/directive/view.js
vendored
@@ -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');
|
||||
|
||||
|
||||
@@ -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');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user