diff --git a/README.mkdn b/README.mkdn
index 7300d0b..e927f1d 100644
--- a/README.mkdn
+++ b/README.mkdn
@@ -15,7 +15,7 @@ Identifies
enabled technology: JS (use in conjunction with <html class="no-js"> for even more granular control)
language detection
-contributors to 0.5, 0.6, 0.6.5:
+Recent contributors to 0.5, 0.6:
more detailed IE detection:
https://github.com/kevingessner/css_browser_selector/
@@ -29,9 +29,7 @@ no-js to js:
mac versioning
https://github.com/haraldmartin/css_browser_selector
-andrew relkin
-
-v0.6.0 2012-??-??
+v0.6.0 2012-01-24
more detailed support for Opera, Chrome, Safari (and revised support for Firefox)
versioning for Chrome, Blackberry, Android, Mac
Android device detection
@@ -61,7 +59,7 @@ history of the user agent string:
language list:
http://msdn.microsoft.com/en-us/library/ms533052%28v=vs.85%29.aspx
-nt list
+windows nt list
http://en.wikipedia.org/wiki/Windows_NT
blackberry user agent string interpertation:
@@ -114,5 +112,29 @@ Based on idea by 37signals:
http://37signals.com/svn/archives2/browser_selectors_in_css.php
Contributors:
-
http://rafael.adm.br/css_browser_selector#contributors
-
+
Niyaz (http://github.com/niyazpk)
+
Marcio Trindade (http://github.com/marciotrindade)
+
rbottarelli (http://github.com/rbottarelli)
+
Bryan Chow (http://github.com/bryanchow)
+
Derek Lio (http://github.com/dereklio)
+
Paul Irish (http://github.com/paulirish)
+
Preston Badeer
+
Upekshapriya
+
André Lopes
+
Tazio Mirandola - copiaincolla pubblicitĂ
+
Reid MacDonald (http://geminstallthat.wordpress.com)
+
Vinicius Braga (http://viniciusbraga.com)
+
Chris Preece (http://www.mmtdigital.co.uk)
+
Dominykas
+
M@ McCray
+
Daniel Westermann-Clark
+
Steve Clay (http://mrclay.org/)
+
Jeff Bellsey
+
Jean Pierre
+
Micah Snyder
+
Derek (http://amphibian.info)
+
Jesse Scott
+
Moises Kirsch (http://www.moiblog.com/)
+
Alex Wiltschko
+
Chris Warren and Tony Nelson (http://www.imagetrend.com)
+
glasser
diff --git a/css_browser_selector_dev.js b/css_browser_selector_dev.js
index a0ff8fb..a66e070 100644
--- a/css_browser_selector_dev.js
+++ b/css_browser_selector_dev.js
@@ -1,9 +1,8 @@
/*
-CSS Browser Selector 0.6.5
+CSS Browser Selector 0.6.0
Originally written by Rafael Lima (http://rafael.adm.br)
http://rafael.adm.br/css_browser_selector
License: http://creativecommons.org/licenses/by/2.5/
-Contributors: http://rafael.adm.br/css_browser_selector#contributors
Co-maintained by:
https://github.com/verbatim/css_browser_selector
@@ -19,7 +18,6 @@ function css_browser_selector(u)
screens = [320, 480, 640, 768, 1024, 1152, 1280, 1440, 1680, 1920, 2560],
allScreens = screens.length,
ua=u.toLowerCase(),
- //is=function(t) { ua.indexOf(t.toLowerCase())>-1 },
is=function(t) { return RegExp(t,"i").test(ua); },
g='gecko',
w='webkit',
@@ -32,6 +30,7 @@ function css_browser_selector(u)
bb='blackberry',
lang='lang_',
d='device_',
+ ms='windows',
html=document.documentElement,
b= [
@@ -53,12 +52,14 @@ function css_browser_selector(u)
// MIDP and CLDC:
// not sure what these represent but have put in until someone can
// tell me they aren't necessary for the purposes of this plugin
+ /*
+ ( /MIDP-((\d+)\.(\d+))/i.test(ua)
? " midp"+ RegExp.$2 + " midp"+ RegExp.$1.replace('.','_')
:'' )
+ ( /CLDC-((\d+)\.(\d+))/i.test(ua)
? " cldc"+ RegExp.$2 + " cldc"+ RegExp.$1.replace('.','_')
:'' )
+ */
)
:is('android') ?
@@ -94,7 +95,7 @@ function css_browser_selector(u)
:''
// mobile
- ,is("mobi|mobile|j2me|iphone|ipod|ipad|blackberry|playbook")?m:''
+ ,is("mobi|mobile|j2me|iphone|ipod|ipad|blackberry|playbook|kindle|silk")?m:''
// os/platform
,is('j2me')?'j2me'
@@ -102,6 +103,7 @@ function css_browser_selector(u)
:is('ipod')?'ipod'
:is('ipad')?'ipad'
:is('playbook')?'playbook'
+ :is('kindle|silk')?'kindle'
:is('mac')?'mac'+ (/mac os x ((\d+)[.|_](\d+))/.test(ua) ? ' mac' + (RegExp.$1).replace('.',"_") : '' )
:is('win')?'win'+
(is('windows nt 6.2')?' win8'