Sha256: 8b71c3e530454373f530f5a1f26c363834c669bb6ff5ab774966a035734236b4
Contents?: true
Size: 389 Bytes
Versions: 4
Compression:
Stored size: 389 Bytes
Contents
import "document"; function d3_vendorSymbol(object, name) { if (name in object) return name; name = name.charAt(0).toUpperCase() + name.substring(1); for (var i = 0, n = d3_vendorPrefixes.length; i < n; ++i) { var prefixName = d3_vendorPrefixes[i] + name; if (prefixName in object) return prefixName; } } var d3_vendorPrefixes = ["webkit", "ms", "moz", "Moz", "o", "O"];
Version data entries
4 entries across 4 versions & 2 rubygems