Index: third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
index b4a3e1f46bd7b3a908c395fab8da756695d5cb1f..1f465ff590c4573adaff3a724a8c6e66ab24e610 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/Script.js |
@@ -57,13 +57,13 @@ WebInspector.Script = function(debuggerModel, scriptId, sourceURL, startLine, st |
this._isLiveEdit = isLiveEdit; |
this.sourceMapURL = sourceMapURL; |
this.hasSourceURL = hasSourceURL; |
-} |
+}; |
/** @enum {symbol} */ |
WebInspector.Script.Events = { |
ScriptEdited: Symbol("ScriptEdited"), |
SourceMapURLAdded: Symbol("SourceMapURLAdded") |
-} |
+}; |
WebInspector.Script.sourceURLRegex = /^[\040\t]*\/\/[@#] sourceURL=\s*(\S*?)\s*$/m; |
@@ -86,7 +86,7 @@ WebInspector.Script._trimSourceURLComment = function(source) |
if (sourceURLLine.search(WebInspector.Script.sourceURLRegex) === -1) |
return source; |
return source.substr(0, sourceURLLineIndex) + source.substr(sourceURLLineIndex + sourceURLLine.length + 1); |
-} |
+}; |
/** |
* @param {!WebInspector.Script} script |
@@ -112,7 +112,7 @@ WebInspector.Script._reportDeprecatedCommentIfNeeded = function(script, source) |
var text = WebInspector.UIString("'//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead."); |
var msg = new WebInspector.ConsoleMessage(script.target(), WebInspector.ConsoleMessage.MessageSource.JS, WebInspector.ConsoleMessage.MessageLevel.Warning, text, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, script.scriptId); |
consoleModel.addMessage(msg); |
-} |
+}; |
WebInspector.Script.prototype = { |
/** |
@@ -344,4 +344,4 @@ WebInspector.Script.prototype = { |
}, |
__proto__: WebInspector.SDKObject.prototype |
-} |
+}; |