From be8c93820fd9432ecc052a4667902a6b30a7a07f Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 23 May 2018 22:06:50 +0300 Subject: [PATCH] refactor(ngModelOptions): fix `ng-closure-runner` warning Without this fix `grunt minall` emits the following warning: > WARNING - Parse error. Non-JSDoc comment has annotations. > Did you mean to start it with '/**'? --- src/ng/directive/ngModelOptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/ngModelOptions.js b/src/ng/directive/ngModelOptions.js index 62408d2ea84a..aefc7355c9c0 100644 --- a/src/ng/directive/ngModelOptions.js +++ b/src/ng/directive/ngModelOptions.js @@ -41,7 +41,7 @@ ModelOptions.prototype = { options = extend({}, options); // Inherit options from the parent if specified by the value `"$inherit"` - forEach(options, /* @this */ function(option, key) { + forEach(options, /** @this */ function(option, key) { if (option === '$inherit') { if (key === '*') { inheritAll = true;