FLUID-5985: Fix trunk-breaking bug introduced by FLUID-5973 in non-browser contexts

Metadata

Source
FLUID-5985
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Alan Harnum
Reporter
Alan Harnum
Created
2016-10-20T08:24:20.620-0400
Updated
2024-07-22T09:20:39.054-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Framework

Description

Per Antranig Basman's comment here: https://github.com/fluid-project/infusion/pull/577#issuecomment-255065212

The platform detection is functionally assuming Infusion is only run in browser contexts and has the 'navigator' object available. This is obviously not true.

Comments