Created
May 16, 2013 18:50
-
-
Save pedronauck/5594090 to your computer and use it in GitHub Desktop.
EnquireJS base script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var query_960 = 'screen and (min-width: 45em)'; | |
enquire.register($query_960, { | |
deferSetup : true, | |
setup : function() { | |
// load content via AJAX | |
}, | |
match : function() { | |
// show sidebar | |
}, | |
unmatch : function() { | |
// hide sidebar | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment