design-automation / mobius-modeller

Mobius in Angular 5
GNU General Public License v3.0
7 stars 5 forks source link

Check Chrome browser #66

Open phtj opened 6 years ago

phtj commented 6 years ago

At the moment, the behaviour of Modius Modeller and Mobius Gallery on non-chrome browsers is not consistent. On IE 11, I get nothing for both the Modeller and the Gallery, just a blank white page. For Firefox, I get a message to use Chrome. All non-chrome browsers must give the user the same message to use chrome. (This does not apply to the gallery home page. This should work on all browsers.) The code should check only that the browser is chrome. If it is not the case, then the message should be displayed. (This avoids the need to check for all the other types of browsers. )

akshatamohanty commented 6 years ago

@phtj Fixed this in mobius-cesium. The gallery is not supported for now because it's part of the same app and the compiled js code for the app throws errors in Firefox and IE - something about const declarations and changing object prototypes. Playing around with compilation options to get this to generate compatible