MCPcopy
hub / github.com/methodofaction/Method-Draw / fail

Function fail

test/qunit/qunit.js:887–896  ·  view source on GitHub ↗
(message, exception, callback)

Source from the content-addressed store, hash-verified

885}
886
887function fail(message, exception, callback) {
888 if ( typeof console !== "undefined" && console.error && console.warn ) {
889 console.error(message);
890 console.error(exception);
891 console.warn(callback.toString());
892
893 } else if ( window.opera && opera.postError ) {
894 opera.postError(message, exception, callback.toString);
895 }
896}
897
898function extend(a, b) {
899 for ( var prop in b ) {

Callers 1

qunit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected