Index: tracing/tracing/model/source_info/source_info.html |
diff --git a/tracing/tracing/model/source_info/source_info.html b/tracing/tracing/model/source_info/source_info.html |
index 1a72aa0d0d8f87016b9c5e22bb7d0be63a820a57..0dccbb2f226436123c4261f1ee8fb4efec74a011 100644 |
--- a/tracing/tracing/model/source_info/source_info.html |
+++ b/tracing/tracing/model/source_info/source_info.html |
@@ -31,8 +31,7 @@ tr.exportTo('tr.model.source_info', function() { |
}, |
get domain() { |
- if (!this.file_) |
- return undefined; |
+ if (!this.file_) return undefined; |
var domain = this.file_.match(/(.*:\/\/[^:\/]*)/i); |
return domain ? domain[1] : undefined; |
}, |
@@ -40,12 +39,15 @@ tr.exportTo('tr.model.source_info', function() { |
toString: function() { |
var str = ''; |
- if (this.file_) |
+ if (this.file_) { |
str += this.file_; |
- if (this.line_ > 0) |
+ } |
+ if (this.line_ > 0) { |
str += ':' + this.line_; |
- if (this.column_ > 0) |
+ } |
+ if (this.column_ > 0) { |
str += ':' + this.column_; |
+ } |
return str; |
} |
}; |