mirror of https://github.com/masayuki0812/c3.git
Masayuki Tanaka
10 years ago
5 changed files with 45 additions and 7 deletions
File diff suppressed because one or more lines are too long
@ -0,0 +1,8 @@
|
||||
c3_chart_internal_fn.isSafari = function () { |
||||
var ua = window.navigator.userAgent; |
||||
return ua.indexOf('Safari') >= 0 && ua.indexOf('Chrome') < 0; |
||||
}; |
||||
c3_chart_internal_fn.isChrome = function () { |
||||
var ua = window.navigator.userAgent; |
||||
return ua.indexOf('Chrome') >= 0; |
||||
}; |
Loading…
Reference in new issue