This Gist was automatically created by Carbide, a free online programming environment.
[You can view a live, interactive version of this Gist here](http://alpha.trycarbide.com/@bijection/bae03af5387
| let word = "gehen" | |
| let endpoint = 'https://en.wiktionary.org/api/rest_v1/page/definition' | |
| let filter = new RegExp('< *\\/? *[a-z]+ *( [a-z]+="[^<>"]+" *)* *\\/? *>', 'ig') | |
| let url = `${endpoint}/${word}` | |
| let resObj = await fetch(url, {orgin:'test'}) | |
| let res = await resObj.json() | |
| function cleanString(str) { |
This Gist was automatically created by Carbide, a free online programming environment.
[You can view a live, interactive version of this Gist here](http://alpha.trycarbide.com/@bijection/bae03af5387
This Gist was automatically created by Carbide, a free online programming environment.
| const a = 30; | |
| a; |
This Gist was automatically created by Carbide, a free online programming environment.
This Gist was automatically created by Carbide, a free online programming environment.
This Gist was automatically created by Carbide, a free online programming environment.
| import React from 'react' | |
| import firebase from 'firebase' | |
| import {liveData, actions} from './storage.js' | |
| import GroupsList from './GroupsList.jsx' | |
| try { firebase.app() } catch (e){ | |
| firebase.initializeApp({ | |
| apiKey: "AIzaSyBm9oAcCktnQlaxNS1GvyraDGV7QtA6d78", | |
| authDomain: "bastard-183be.firebaseapp.com", | |
| databaseURL: "https://bastard-183be.firebaseio.com", |