# Global functions referenced from HTML @showWaiting = (element_id, text, centered) -> element = $(element_id) if element && centered element.html('
\"...\"' + text + '

') else if element element.html('\"...\"' + text) @showMessage = (elements) -> $.each(elements, (index, value) -> element = $(value) element.fadeIn(2000) ) jQuery -> $(".collapse").collapse()