* @private
*/
Dygraph.log = function(severity, message) {
+ // <REMOVE_FOR_COMBINED>
var st;
if (typeof(printStackTrace) != 'undefined') {
try {
// Oh well, it was worth a shot!
}
}
+ // </REMOVE_FOR_COMBINED>
if (typeof(window.console) != 'undefined') {
// In older versions of Firefox, only console.log is defined.
}
}
+ // <REMOVE_FOR_COMBINED>
if (Dygraph.LOG_STACK_TRACES) {
window.console.log(st.join('\n'));
}
+ // </REMOVE_FOR_COMBINED>
};
/**