Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mkurtikov/405745779e470e4b6da1932f0568b682 to your computer and use it in GitHub Desktop.
Save mkurtikov/405745779e470e4b6da1932f0568b682 to your computer and use it in GitHub Desktop.
if (C)
{
if (c)
{
if (a)
{
return "<link type=\"text/css\" rel=\"preload\" href=\"https://cdn.no{0}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\" /><noscript><link rel = \"stylesheet\" href=\"https://cdn
.no{0}\"></noscript>";
}
else
{
return "<link rel = \"stylesheet\" href=\"https://cdn.no{0}\">";
}
}
else if (j)
{
if (a)
{
return "<script type=\"text/javascript\" src=\"https://cdn.no{0}\" async></script>";
}
else
{
return "<script src=\"https://cdn.no{0}\"></script>";
}
}
}
else
{
if (c)
{
if (a)
{
return "<link type=\"text/css\" rel=\"preload\" href=\"{0}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\" /><noscript><link rel = \"stylesheet\" href=\"{0}\"></noscript>";
}
else
{
return "<link rel = \"stylesheet\" href=\"{0}\">";
}
}
else if (j)
{
if (a)
{
return "<script type=\"text/javascript\" src=\"{0}\" async></script>";
}
else
{
return "<script src=\"{0}\"></script>";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment