1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 * @implements {WebInspector.CodeMirrorMimeMode}
9 WebInspector
.DefaultCodeMirrorMimeMode = function()
13 WebInspector
.DefaultCodeMirrorMimeMode
.prototype = {
15 * @param {!Runtime.Extension} extension
18 install: function(extension
)
20 var modeFileName
= extension
.descriptor()["fileName"];
21 var modeContent
= extension
.module().resource(modeFileName
);
22 self
.eval(modeContent
+ "\n//# sourceURL=" + modeFileName
);