Commit e4c1ce6c authored by Albert Hilazo's avatar Albert Hilazo Committed by Jaromil
Browse files

[+Jordi] Remove warnings for React Native

parent 9e6246b4
......@@ -64,6 +64,7 @@ javascript-rn: apply-patches lua53 milagro lpeglabel
@mkdir -p build/rnjs
sed -i 's/require("crypto")/require(".\/crypto")/g' src/zenroom.js
sed -i 's/require("[^\.]/console.log("/g' src/zenroom.js
sed -i 's/console.warn.bind/console.log.bind/g' src/zenroom.js
sed -i 's/;ENVIRONMENT_IS_SHELL=[^;]*;/;ENVIRONMENT_IS_SHELL=true;/g' src/zenroom.js
sed -i 's/;ENVIRONMENT_IS_NODE=[^;]*;/;ENVIRONMENT_IS_NODE=false;/g' src/zenroom.js
sed -i 's/;ENVIRONMENT_IS_WORKER=[^;]*;/;ENVIRONMENT_IS_WORKER=false;/g' src/zenroom.js
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment