Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Commit

Permalink
[js] Alias userAgent to ua.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobie committed Feb 20, 2013
1 parent 1005780 commit 656f407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lib/results.js
Expand Up @@ -3,7 +3,7 @@ var UNDEF = void 0;
exports.BackwardsCompatResults = BackwardsCompatResults;
function BackwardsCompatResults(ua_str, ua, os, device) {
this.string = ua_str;
this.userAgent = ua;
this.userAgent = this.ua = ua;
this.os = os;
this.device = device

Expand Down

0 comments on commit 656f407

Please sign in to comment.