mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'pr-2807' into devel
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user