Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-288509: Incorrect "Suspicious use of 'this' qualifier in inner function" javascript inspection warning

$
0
0
Reporter Michael (mteper) Michael (mteper)
Created Feb 24, 2012 7:16:38 AM
Updated Feb 24, 2012 7:16:38 AM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions 6.1.1
Fixed in build No Fixed in build
The following code is a common pattern with knockoutjs and should not be flagged:

    this.TimingFormatted = ko.computed(function() { return Globalize.format(this.Timing(), "n1") + " hours"; }, this);

See http://knockoutjs.com/documentation/computedObservables.html

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>