Fork me on GitHub
#cljsrn
<
2017-03-03
>
seantempesta01:03:13

hey @tiensonqin. How do you get sourcemap support working in your exponent template? When I start exponent it says Source maps enabled. and Chrome’s devtools says Source Map Detected. But all of my stacktraces are the Closure compiled .js files.

tiensonqin02:03:20

@seantempesta It uses the same trick as in re-natal: https://github.com/drapanjanas/re-natal/blob/master/re-natal.coffee#L323-L327 I remembered it works for me, will check it later, thanks for trying it.

Rohit Thadani23:03:05

what is the correct way of calling a static method in a class. I tried using the react-native-fbsdk https://github.com/facebook/react-native-fbsdk and got as far as getting the button to show in my app but then the example uses this AccessToken.getCurrentAccessToken which is a static member of that class and I am at a loss on how to do this in the re-natal app. Are there conventions for calling methods listed someplace?