Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: third_party/WebKit/Source/devtools/scripts/jsdoc_validator/tests/this.js

Issue 2441163002: DevTools: clean up scripts folder (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 this.foo = this.foo + 1; // OK - outside of function. 1 this.foo = this.foo + 1; // OK - outside of function.
2 2
3 function f() { 3 function f() {
4 this.foo = this.foo + 1; // OK - global |this|. 4 this.foo = this.foo + 1; // OK - global |this|.
5 } 5 }
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 */ 9 */
10 function TypeOne() { 10 function TypeOne() {
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 * @this {Object} 275 * @this {Object}
276 */ 276 */
277 function callbackNotReferencingThisAnnotated() 277 function callbackNotReferencingThisAnnotated()
278 { 278 {
279 } 279 }
280 this.memberTwo(callbackNotReferencingThisAnnotated); // OK - Has @this a nnotation, but does not reference |this|. 280 this.memberTwo(callbackNotReferencingThisAnnotated); // OK - Has @this a nnotation, but does not reference |this|.
281 }, 281 },
282 282
283 memberTwo: function(arg) {} 283 memberTwo: function(arg) {}
284 } 284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698