Use `invariant` from fbjs everywhere

Reviewed By: yungsters

Differential Revision: D3002422

fb-gh-sync-id: c7d308e6cfc717726dbbc43a2462fdabb052b2fe
shipit-source-id: c7d308e6cfc717726dbbc43a2462fdabb052b2fe
This commit is contained in:
David Aurelio 2016-03-02 17:13:47 -08:00 committed by Facebook Github Bot 3
parent cbbe2a707e
commit 41aeaec16f
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ var sharedBlacklist = [
'node_modules/fbjs/lib/Map.js', 'node_modules/fbjs/lib/Map.js',
'node_modules/fbjs/lib/isEmpty.js', 'node_modules/fbjs/lib/isEmpty.js',
'downstream/core/invariant.js',
/website\/node_modules\/.*/, /website\/node_modules\/.*/,
// TODO(jkassens, #9876132): Remove this rule when it's no longer needed. // TODO(jkassens, #9876132): Remove this rule when it's no longer needed.