Backed out changeset 6b0e836a33a9 (bug 1316265) for leaks in Linux x64 devtools tests. r=backout
This commit is contained in:
@@ -27,24 +27,16 @@ define(function (require, exports, module) {
|
||||
},
|
||||
|
||||
getTitle: function (grip) {
|
||||
let title = "function ";
|
||||
if (grip.isGenerator) {
|
||||
title = "function* ";
|
||||
}
|
||||
if (grip.isAsync) {
|
||||
title = "async " + title;
|
||||
}
|
||||
|
||||
if (this.props.objectLink) {
|
||||
return this.props.objectLink({
|
||||
object: grip
|
||||
}, title);
|
||||
}, "function ");
|
||||
}
|
||||
return title;
|
||||
return "";
|
||||
},
|
||||
|
||||
summarizeFunction: function (grip) {
|
||||
let name = grip.userDisplayName || grip.displayName || grip.name || "";
|
||||
let name = grip.userDisplayName || grip.displayName || grip.name || "function";
|
||||
return cropString(name + "()", 100);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user