Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 31a6ab2

Browse files
committed
chore(*): change remaining /* @this */ to /** @this */
Ref ec565dd
1 parent 7e62f8d commit 31a6ab2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

benchmarks/largetable-bp/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ app.controller('DataController', function DataController($scope, $rootScope) {
2323
$scope.numberOfBindings = totalRows * totalColumns * 2 + totalRows + 1;
2424
$scope.numberOfWatches = '?';
2525

26-
/* @this */
26+
/** @this */
2727
function iGetter() { return this.i; }
28-
/* @this */
28+
/** @this */
2929
function jGetter() { return this.j; }
3030

3131
for (var i = 0; i < totalRows; i++) {

compare-master-to-stable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var exec = function(cmd) {
2121
};
2222

2323
var andThen = function(fn, after) {
24-
return /* @this */ function() {
24+
return /** @this */ function() {
2525
return fn.apply(this, arguments).then(after);
2626
};
2727
};

docs/app/assets/js/search-worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ importScripts('../components/lunr.js-0.5.12/lunr.min.js');
88

99
// Create the lunr index - the docs should be an array of object, each object containing
1010
// the path and search terms for a page
11-
var index = lunr(/* @this */function() {
11+
var index = lunr(/** @this */function() {
1212
this.ref('path');
1313
this.field('titleWords', {boost: 50});
1414
this.field('members', {boost: 40});

src/ng/parse.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ function $ParseProvider() {
20802080
var unwatch, lastValue;
20812081
unwatch = scope.$watch(function oneTimeWatch(scope) {
20822082
return parsedExpression(scope);
2083-
}, /* @this */ function oneTimeListener(value, old, scope) {
2083+
}, /** @this */ function oneTimeListener(value, old, scope) {
20842084
lastValue = value;
20852085
if (isFunction(listener)) {
20862086
listener.apply(this, arguments);
@@ -2100,7 +2100,7 @@ function $ParseProvider() {
21002100
var unwatch, lastValue;
21012101
unwatch = scope.$watch(function oneTimeWatch(scope) {
21022102
return parsedExpression(scope);
2103-
}, /* @this */ function oneTimeListener(value, old, scope) {
2103+
}, /** @this */ function oneTimeListener(value, old, scope) {
21042104
lastValue = value;
21052105
if (isFunction(listener)) {
21062106
listener.call(this, value, old, scope);

0 commit comments

Comments
 (0)