JSFiddle - React, Tailwind, and code Playground
JavaScript
try
{
debugger;
// Connect to Weather Service .dll
var oMSN = new ActiveXObject("wlsrvc.WLServices");
var oMSN2 = new ActiveXObject("wlsrvc.WLServices");
this.oMSN = oMSN.GetService("weather"); // Object to send and recieve weather data queries and to poll for service existence
this.oMSN2 = oMSN2.GetService("weather"); // Object to send a latlong query and recieve a location code corresponding to the latlong
}
catch (objException)
{
this.isValid = false;
this.statusMessage = getLocalizedString('ServiceNotAvailable');
this.oMSN = new Object();
this.oMSN2 = new Object();
}