Skip to content

Instantly share code, notes, and snippets.

@iamdustan
Created June 5, 2012 15:01
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save iamdustan/2875525 to your computer and use it in GitHub Desktop.
Categorizr.js and yepnope.js are best friends.
yepnope([
{
test : categorizr.isMobile,
, yep : ['mobile-specific.js', 'mobile-specific.css']
}
, {
test : categorizr.isTablet,
, yep : ['tablet-specific.js', 'tablet-specifc.css']
}
, {
test: categorizr.isDesktop
, yep : ['desktop-specific.js', 'desktop-specifc.css']
});
@Extremefjb
Copy link

nice

@TrySpace
Copy link

TrySpace commented Jan 2, 2015

Where does the opening bracket "[" close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment