Ace Code Editor
/**
* In fact, you're looking at ACE right now. Go ahead and play with it!
*
* We are currently showing off the JavaScript mode. ACE has support for 45
* language modes and 24 color themes!
*/
function add(x, y) {
var resultString = "Hello, ACE! The result of your math is: ";
var result = x + y;
return resultString + result;
}
var addResult = add(3, 2);
console.log(addResult);
// build all tooltips from data-attributes
$("[data-toggle='tooltip']").each(function (index, el) {
$(el).tooltip({
placement: $(this).data("placement") || 'top'
});
});