var BrowserOracle = (function () {
    "use strict";

    function BrowserOracle(userAgent) {
        this.userAgent = userAgent;
    }

    BrowserOracle.prototype.init = function () {
        this.isFirefox = /firefox/i.test(this.userAgent);
    };

    return BrowserOracle;
})();
var BrowserOracle = (function () {
    "use strict";

    function BrowserOracle(userAgent) {
        this.userAgent = userAgent;
        this.isFirefox = /firefox/i.test(this.userAgent);
        this.isMobile = /mobile/i.test(this.userAgent);
    }

    return BrowserOracle;
})();
add mobile check #core (cherry picked from commit 7170b02)