Created
April 16, 2018 13:38
-
-
Save trepidity/06bfa7805dc2c31d311ebeee38ed0f47 to your computer and use it in GitHub Desktop.
Parsing error: Unexpected token = (at line 1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_loadResourcesAsync = async () => { | |
return Promise.all([ | |
Asset.loadAsync([ | |
require('./assets/images/robot-dev.png'), | |
require('./assets/images/robot-prod.png'), | |
]), | |
Font.loadAsync({ | |
// This is the font that we are using for our tab bar | |
...Ionicons.font, | |
// We include SpaceMono because we use it in HomeScreen.js. Feel free | |
// to remove this if you are not using it in your app | |
'space-mono': require('./assets/fonts/SpaceMono-Regular.ttf'), | |
'Roboto': require('native-base/Fonts/Roboto.ttf'), | |
'Roboto_medium': require('native-base/Fonts/Roboto_medium.ttf'), | |
}), | |
]); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment