Piyush Pandey
MUMBAI, July 04, 2017 20:32 IST
Updated:
“;
var device = “”;
for ( var type in WFClientTypeDef) {
if (window.matchMedia(WFClientTypeDef[type]).matches) {
switch (type) {
case “xlarge”:
device = ‘desktop’;
break;
case “large”:
device = ‘desktop’;
break;
case “medium”:
device = ‘tab’;
break;
case “small”:
device = ‘mobile’;
break;
}
break;
}
}
var writeOnDocument = true;
var skipOnDeviceValue = “[medium, small]”;
var noSkipOnDevice = skipOnDeviceValue.length > 0;
if(noSkipOnDevice) {
if (skipOnDeviceValue.indexOf(“large”) > -1 && ‘desktop’ == device) {
writeOnDocument = false;
}
if (skipOnDeviceValue.indexOf(“medium”) > -1 && ‘tab’ == device…
var device = “”;
for ( var type in WFClientTypeDef) {
if (window.matchMedia(WFClientTypeDef[type]).matches) {
switch (type) {
case “xlarge”:
device = ‘desktop’;
break;
case “large”:
device = ‘desktop’;
break;
case “medium”:
device = ‘tab’;
break;
case “small”:
device = ‘mobile’;
break;
}
break;
}
}
var writeOnDocument = true;
var skipOnDeviceValue = “[medium, small]”;
var noSkipOnDevice = skipOnDeviceValue.length > 0;
if(noSkipOnDevice) {
if (skipOnDeviceValue.indexOf(“large”) > -1 && ‘desktop’ == device) {
writeOnDocument = false;
}
if (skipOnDeviceValue.indexOf(“medium”) > -1 && ‘tab’ == device…
Read the full article at: http://www.thehindu.com/business/jyoti-structures-faces-bankruptcy-action/article19210518.ece