@@ -137,7 +137,6 @@ $('#scaladex-search').autocomplete({
137
137
} ,
138
138
noCache : true ,
139
139
onSelect : function ( suggestion ) {
140
- console . log ( suggestion ) ;
141
140
window . open ( scaladexUrl ( suggestion . data ) , '_blank' ) ;
142
141
} ,
143
142
formatResult : function ( suggestion ) {
@@ -226,7 +225,6 @@ $(document).ready(function() {
226
225
editor . refresh ( ) ;
227
226
228
227
function run ( ) {
229
- console . log ( "run" ) ;
230
228
var scastieBaseUrl = "https://scastie.scala-lang.org" ;
231
229
232
230
$ . ajax (
@@ -333,9 +331,6 @@ $(document).ready(function() {
333
331
// filter out extra ajax info
334
332
return data ;
335
333
} , function ( jqXHR , textStatus , errorThrown ) {
336
- // log the error to the console
337
- console . error ( "Couldn't load training feed " + url + " : " + textStatus , errorThrown ) ;
338
-
339
334
// recover so we can keep processing
340
335
return [ ] ;
341
336
} ) ;
@@ -356,7 +351,6 @@ $(document).ready(function() {
356
351
return training . when >= new Date ( ) ;
357
352
} )
358
353
} , function ( error ) {
359
- console . error ( "Couldn't parse our training data" , error ) ;
360
354
// if our data is bad recover with an empty array
361
355
return [ ] ;
362
356
} ) ;
@@ -389,7 +383,6 @@ $(document).ready(function() {
389
383
390
384
return flattenedTrainings ;
391
385
} , function ( error ) {
392
- console . error ( "Couldn't parse Lightbend training data" , error ) ;
393
386
// if our data is bad recover with an empty array
394
387
return [ ] ;
395
388
} ) ;
0 commit comments