Remove rule

This commit is contained in:
Ilya Daynatovich 2017-01-20 19:54:59 +02:00 committed by Lyubomir Marinov
parent 6a0b92638c
commit 1fa4a53a48
1 changed files with 1 additions and 15 deletions

View File

@ -1,8 +1,7 @@
import { Platform } from '../react';
import {
MobileBrowserPage,
UnsupportedBrowserPage
MobileBrowserPage
} from '../../unsupported-browser';
/**
@ -33,19 +32,6 @@ const RULES = [
if ((OS === 'android' || OS === 'ios') && !mobileBrowserPageIsShown) {
return MobileBrowserPage;
}
},
/**
* This rule describes case when user opens application using web browser
* that doesn't support WebRTC or Temasys plugin should be installed.
*
* @returns {UnsupportedBrowserPage|void} If the rule is satisfied
* then we should intercept existing component by UnsupportedBrowserPage.
*/
() => {
if (true) {
return UnsupportedBrowserPage;
}
}
];