PhantomReporter made not to break IE. Closes GH-71.

This commit is contained in:
Boris Staal 2013-07-02 01:23:48 +07:00 committed by Kyle Robinson Young
parent 468c93729d
commit b704304691

View File

@ -120,7 +120,7 @@ phantom.sendMessage = function() {
if (!value) return value;
// If we're a node
if (value instanceof Node) return '[ Node ]';
if (typeof(Node) !== 'undefined' && value instanceof Node) return '[ Node ]';
// jasmine-given has expectations on Specs. We intercept to return a
// String to avoid stringifying the entire Jasmine environment, which