Akanksha Jain
New Delhi
March 11, 2017 22:56 IST
Updated:
March 11, 2017 22:56 IST
“;
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 (skipOnDev…
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 (skipOnDev…
Read the full article at: http://www.thehindu.com/news/cities/Delhi/man-gets-jail-for-disobeying-sc-order/article17449640.ece