fix several lint warnings

Summary: fix some ling warnings from several files
Closes https://github.com/facebook/react-native/pull/4450

Reviewed By: svcscm

Differential Revision: D2707606

Pulled By: mkonicek

fb-gh-sync-id: 410ccacf061ac7b0f6e44d1a5e4621a9d1d606fc
This commit is contained in:
Huang Yu
2015-12-01 07:24:14 -08:00
committed by facebook-github-bot-4
parent 8ec052a727
commit 0a3694ce48
7 changed files with 4 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ function setUpConsole() {
* For more info on that particular case, see:
* https://github.com/facebook/react-native/issues/934
*/
function polyfillGlobal(name, newValue, scope=GLOBAL) {
function polyfillGlobal(name, newValue, scope = GLOBAL) {
var descriptor = Object.getOwnPropertyDescriptor(scope, name) || {
// jest for some bad reasons runs the polyfill code multiple times. In jest
// environment, XmlHttpRequest doesn't exist so getOwnPropertyDescriptor