bestiejs / platform.js

A platform detection library.
https://mths.be/platform
MIT License
3.22k stars 408 forks source link

Version number in file #121

Closed SwintDC closed 6 years ago

SwintDC commented 7 years ago

It would be an enhancement if the version number was explicitly mentioned on top of the source file, like in the example below:

/*!
 * Platform.js v1.3.3 <https://mths.be/platform>
 * Copyright 2014-2016 Benjamin Tan <https://demoneaux.github.io/>
 * Copyright 2011-2013 John-David Dalton <http://allyoucanleet.com/>
 * Available under MIT license <https://mths.be/mit>
 */
jdalton commented 7 years ago

Hi @SwintDC!

I'd rather add a VERSION property.

jdalton commented 7 years ago

@SwintDC Would you be up for creating a pull request?