Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Detailed Browserversions #3826

Merged
merged 1 commit into from Jan 19, 2012
Merged

Detailed Browserversions #3826

merged 1 commit into from Jan 19, 2012

Conversation

tristanlins
Copy link
Contributor

I added a versions property contains the complete numeric version of a browser splittet into an array. I need this because I have to check an explizit browser version (in my case only major and minor, but maybe i need more).

Please dont ask me, why git says \ No newline at end of file for the system/config/agents.php file, i don't change the last line and as far as i can see with a hex editor, there is no difference from my file to your file in the last line. But for the system/libraries/Environment.php there is no last line ending conflict ... i'm a bit confused about this O.o
Maybe there is a single CR (without NL), that i don't see in my version. Please have a look with a hex editor into your version of the agents.php file, for a single CR in the last line. I have this problem with another project and I was only able to see the single CR with a hex editor.

The versions property contains the complete numeric version of a browser
splittet into an array.
@leofeyer
Copy link
Member

I'd prefer to add major, minor and build instead of a versions array. Would this be ok for you?

@tristanlins
Copy link
Contributor Author

Its also ok, i used the array to not modify too much and to have access to the complete version number. The chrome for example have a version number with 4 parts.
My chromium have the version number: 16.0.912.36

@leofeyer leofeyer merged commit 2686a50 into contao:2.11.x Jan 19, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants