Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{
block : 'page',
title : 'Support IE8',
head : [
{
elem : 'conditional-comment',
condition : '> IE 8',
msieOnly : false,
content : { elem : 'css', url : '_simple.css' } // styles for all browsers, including IE9+
},
{
elem : 'conditional-comment',
condition : '<= IE 8',
content : { elem : 'css', url : '_simple.ie.css' } // styles for Internet Explorer 8 and older versions
}
],
scripts : [
{
elem : 'conditional-comment',
condition : '< IE 9',
content : { elem : 'js', url : '//yastatic.net/es5-shims/0.0.1/es5-shims.min.js' }, // integrating es5-shim for Internet Explorer 8 and older versions
},
{ elem : 'js', url : '_simple.js' }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment