! function ( e ) { if ( "object" == typeof module && "object" == typeof module . exports ) { var n = e ( require , exports ) ; void 0 !== n && ( module . exports = n ) ; } else "function" == typeof define && define . amd && define ( "vs/language/json/monaco.contribution" , [ "require" , "exports" ] , e ) ; } ( function ( e , n ) { function o ( ) { return { jsonDefaults : r } ; } function t ( n ) { e ( [ "vs/language/json/jsonMode" ] , n ) ; } var i = monaco . Emitter , s = function ( ) { function e ( e , n ) { this . _onDidChange = new i , this . _languageId = e , this . setDiagnosticsOptions ( n ) ; } return Object . defineProperty ( e . prototype , "onDidChange" , { get : function ( ) { return this . _onDidChange . event ; } , enumerable : ! 0 , configurable : ! 0 } ) , Object . defineProperty ( e . prototype , "languageId" , { get : function ( ) { return this . _languageId ; } , enumerable : ! 0 , configurable : ! 0 } ) , Object . defineProperty ( e . prototype , "diagnosticsOptions" , { get : function ( ) { return this . _diagnosticsOptions ; } , enumerable : ! 0 , configurable : ! 0 } ) , e . prototype . setDiagnosticsOptions = function ( e ) { this . _diagnosticsOptions = e || Object . create ( null ) , this . _onDidChange . fire ( this ) ; } , e ; } ( ) ; n . LanguageServiceDefaultsImpl = s ; var a = { validate : ! 0 , allowComments : ! 0 , schemas : [ ] } , r = new s ( "json" , a ) ; monaco . languages . json = o ( ) , monaco . languages . register ( { id : "json" , extensions : [ ".json" , ".bowerrc" , ".jshintrc" , ".jscsrc" , ".eslintrc" , ".babelrc" ] , aliases : [ "JSON" , "json" ] , mimetypes : [ "application/json" ] } ) , monaco . languages . onLanguage ( "json" , function ( ) { t ( function ( e ) { return e . setupMode ( r ) ; } ) ; } ) ; } ) ;