mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Pass logging tests on IE7.
This commit is contained in:
@@ -151,7 +151,7 @@ _.each(['debug', 'info', 'warn', 'error'], function (level) {
|
||||
// tries to parse line as EJSON. returns object if parse is successful, or null if not
|
||||
Log.parse = function (line) {
|
||||
var obj = null;
|
||||
if (line && line[0] === '{') { // might be json generated from calling 'Log'
|
||||
if (line && line.charAt(0) === '{') { // might be json generated from calling 'Log'
|
||||
try { obj = EJSON.parse(line); } catch (e) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user