Logo

GitLab

Sign in

customer / shanghai-railway-rnapp

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • shanghai-railway-rnapp
  • src
  • app.js
  • 平安地铁项目工程搭建 代码初次提交
    a74d0a8e
    彭祥雨 authored
    2018-03-21 20:39:27 +0800  
    Browse Code »
app.js 320 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/**
 * Created by Cassie on 208/03/21.
 */
import { AppRegistry } from 'react-native';
import index from './index.js';

if (!__DEV__) {
    global.console = {
        info: () => {},
        log: () => {},
        warn: () => {},
        error: () => {},
    };
}
AppRegistry.registerComponent('metroApp', () => index);