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

Commit

Permalink
put native FxA behind FxA config flag (bug 1071265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Short committed Sep 22, 2014
1 parent 347e1cc commit 353a0a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/media/js/commonplace/capabilities.js
Expand Up @@ -35,6 +35,7 @@ define('capabilities', ['settings'], function(settings) {
};
static_caps.nativeFxA = function() {
return (static_caps.firefoxOS &&
settings.switches.indexOf('firefox-accounts') !== -1 &&
window.location.protocol === 'app:' &&
navigator.userAgent.match(/rv:(\d{2})/)[1] >= 34);

Expand Down

0 comments on commit 353a0a0

Please sign in to comment.