-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Tests failing in Firefox (Issue #14)
Issue #14 fixed. The reason being that the userAgent property is readonly [1], per spec [2]. [1] http://mxr.mozilla.org/mozilla-central/source/dom/webidl/Navigator.webidl#45 [2] http://www.whatwg.org/specs/web-apps/current-work/#the-navigator-object Instead of changing navigator.userAgent of browser, the userAgent parameter of Modernizr.Detectizr.device changed at the initialization stage.
- Loading branch information
1 parent
f88d479
commit 6129b75
Showing
1 changed file
with
28 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters