The code was only looking for prefixed constants, but the standard constant is supported by all of the browsers for quite some time.
I would even go farther and remove those constants (and the prefix-querying code at the top) completely, but there might be old version support level for this library.
The code was only looking for prefixed constants, but the standard constant is supported by all of the browsers for quite some time.
I would even go farther and remove those constants (and the prefix-querying code at the top) completely, but there might be old version support level for this library.