New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in log() method in can.view.Mustache #797

isadovskiy opened this Issue Mar 18, 2014 · 0 comments


None yet
4 participants

isadovskiy commented Mar 18, 2014


looks like "log" method implementation in can.view.Mustache has incorrect console object detection logic, which will cause JS error:

        'log': function (expr, options) {
            if (console !== undefined) {
                if (!options) {
                } else {
                    console.log(expr, options.context);

Should be:

if (typeof console !== "undefined") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment