Skip to content

backbonex/osAndBrowserDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osAndBrowserDetection

Detects OS and browser and writes CSS class to html element

Browser classes:

  • mozilla
  • msie
  • opera
  • webkit

OS classes:

  • win
  • mac
  • x11 for UNIX
  • linux

#Installation

$ bower install os-and-browser-detection --save

Usage

Just specify the file as dependency to your RequireJS module which need brower or OS detection in CSS. Be sure you have underscore, jquery and jquery.browser in your shim for RequireJS

About

Detects OS and brower and writes CSS class to html element

Resources

License

Stars

Watchers

Forks

Packages

No packages published