Merge branch 'pr-2807' into devel

This commit is contained in:
Nick Martin
2014-10-13 18:05:41 -07:00

View File

@@ -22,8 +22,8 @@ Blaze._escape = (function() {
Blaze._warn = function (msg) {
msg = 'Warning: ' + msg;
if ((typeof 'Log' !== 'undefined') && Log && Log.warn)
if ((typeof Log !== 'undefined') && Log && Log.warn)
Log.warn(msg); // use Meteor's "logging" package
else if ((typeof 'console' !== 'undefined') && console.log)
else if ((typeof console !== 'undefined') && console.log)
console.log(msg);
};