4646 * language.setLineComment("--");
4747 * language.setBlockComment("{-", "-}");
4848 *
49- * Some CodeMirror modes define variations of themselves. The are called MIME modes.
49+ * Some CodeMirror modes define variations of themselves. They are called MIME modes.
5050 * To find out existing MIME modes, search for "CodeMirror.defineMIME" in thirdparty/CodeMirror2/mode
5151 * For instance, C++, C# and Java all use the clike mode.
5252 * You can refine the mode definition by specifying the MIME mode as well:
@@ -462,18 +462,15 @@ define(function (require, exports, module) {
462462 html . _setLanguageForMode ( "xml" , html ) ;
463463
464464 // Currently we override the above mentioned "xml" in TokenUtils.getModeAt, instead returning "html".
465- // When the CSSInlineEditor and the hint providers are no longer based on moded , this can be changed.
465+ // When the CSSInlineEditor and the hint providers are no longer based on modes , this can be changed.
466466 // But for now, we need to associate this madeup "html" mode with our HTML language object.
467467 _setLanguageForMode ( "html" , html ) ;
468468
469469 // The fallback language for unknown modes and file extensions
470470 _fallbackLanguage = getLanguage ( "unknown" ) ;
471471
472-
473472 // Public methods
474- module . exports = {
475- defineLanguage : defineLanguage ,
476- getLanguage : getLanguage ,
477- getLanguageForFileExtension : getLanguageForFileExtension
478- } ;
473+ exports . defineLanguage = defineLanguage ;
474+ exports . getLanguage = getLanguage ;
475+ exports . getLanguageForFileExtension = getLanguageForFileExtension ;
479476} ) ;
0 commit comments