mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): factor out some angular functions to variables
This commit is contained in:
2
js/angular/controller/scrollController.js
vendored
2
js/angular/controller/scrollController.js
vendored
@@ -24,7 +24,7 @@ function($scope, scrollViewOptions, $timeout, $window, $$scrollValueCache, $loca
|
||||
this._scrollViewOptions = scrollViewOptions; //for testing
|
||||
|
||||
var element = this.element = scrollViewOptions.el;
|
||||
var $element = this.$element = angular.element(element);
|
||||
var $element = this.$element = jqLite(element);
|
||||
var scrollView = this.scrollView = new ionic.views.Scroll(scrollViewOptions);
|
||||
|
||||
//Attach self to element as a controller so other directives can require this controller
|
||||
|
||||
Reference in New Issue
Block a user