Skip to content

Commit e45941b

Browse files
committed
Mangle optimizations
1 parent 6414e86 commit e45941b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/directive/model-options/model-options.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class NgModelOptionsController {
2121
* @param {ng.Scope} $scope
2222
*/
2323
constructor($attrs, $scope) {
24-
this.$$attrs = $attrs;
25-
this.$$scope = $scope;
24+
this._attrs = $attrs;
25+
this._scope = $scope;
2626
/** @type {NgModelOptionsController?} */
2727
this.parentCtrl;
2828
}
@@ -32,8 +32,8 @@ class NgModelOptionsController {
3232
? this.parentCtrl.$options
3333
: defaultModelOptions;
3434

35-
const modelOptionsDefinition = this.$$scope.$eval(
36-
this.$$attrs.ngModelOptions,
35+
const modelOptionsDefinition = this._scope.$eval(
36+
this._attrs.ngModelOptions,
3737
);
3838

3939
this.$options = parentOptions.createChild(modelOptionsDefinition);

0 commit comments

Comments
 (0)