var _origAssert = console.assert;


if (typeof window.console === 'undefined') {
    window.console = {};
}

if (typeof console.log === 'undefined') {
    console.log = function() {}
}

/*
 * console.assert may not behave as we'd hope on all implementations.
 * On Chrome, for instance, it doesn't raise an exception. So, fall back
 * to raising one.
 */
console.assert = function(conditional, msg) {
    if (_origAssert && _origAssert.call) {
        _origAssert.call(console, conditional, msg);
    }

    /* If the above assert never raised an exception, raise our own. */
    if (!conditional) {
        throw Error(msg);
    }
}

if (typeof console.assert === 'undefined') {
    console.log = function() {}
}

@@ -12,27 +12,9 @@
 sert
- = console.assert;%0A
+;
 %0A%0Aif
@@ -80,24 +80,55 @@
 le = %7B%7D;%0A%7D%0A%0A
+_origAssert = console.assert;%0A%0A
 if (typeof c
@@ -644,84 +644,4 @@
 %7D%0A%7D%0A
-%0Aif (typeof console.assert === 'undefined') %7B%0A    console.log = function() %7B%7D%0A%7D%0A

Fix the console fallbacks to not break older browsers.