import { ChartInternal } from './core' ChartInternal.prototype.isSafari = function() { var ua = window.navigator.userAgent return ua.indexOf('Safari') >= 0 && ua.indexOf('Chrome') < 0 } ChartInternal.prototype.isChrome = function() { var ua = window.navigator.userAgent return ua.indexOf('Chrome') >= 0 }