Skip to content

Instantly share code, notes, and snippets.


Michał Gołębiowski-Owczarek mgol

View GitHub Profile
mgol /
Last active Apr 20, 2020
jQuery ES6 modules example usage

jQuery source is now authored using ES6 modules. It's possible to use them directly in the browser without any build process.

To test it locally, first clone the jQuery repository:

git clone

Then, write the following index.html file:

mgol /
Last active Sep 10, 2020
How to easily not serve JS and/or CSS to IE<11

Here's how to make your site not load CSS and/or JS in IE older than 11:

<!DOCTYPE html>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=8,9,11">
        <title>Page title</title>
        <!--[if !IE]>-->
        <link rel="stylesheet" href="styles.css">
You can’t perform that action at this time.