Message from JavaScript discussions

December 2017

— IRL prod code:

— 

} catch (error) {
if ("error" in strategy) {
// Run `error` if an error occured;
var errorReturnValue = strategy.error(state, error);
if (errorReturnValue !== undefined) {
returnValue = errorReturnValue;
}
} else {
throw error;
}
}

— WAIT WHAT THE HELL

— 

try {
0();
} catch (ex if ex instanceof TypeError) {
// only catch TypeErrors
}

— ?????

— Oh pfff, Firefox only

— On owl carousel auto width item, there is a blank space after last item. How to fix this???

— Owlcarousel

— Http://owlcarousel2.github.io/OwlCarousel2

— On auto width demo, edit loop:true to false

— It will happen

— No this is already using and implemented in backend