git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| import React, { Component } from 'react'; | |
| import { withRouter } from 'react-router-dom'; | |
| class ContactForm extends Component { | |
| submitForm = e => { | |
| e.preventDefault() | |
| this.props.history.push('/thank-you'); | |
| } |
| // sending to sender-client only | |
| socket.emit('message', "this is a test"); | |
| // sending to all clients, include sender | |
| io.emit('message', "this is a test"); | |
| // sending to all clients except sender | |
| socket.broadcast.emit('message', "this is a test"); | |
| // sending to all clients in 'game' room(channel) except sender |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <link rel="import" href="../core-tooltip/core-tooltip.html"> | |
| <link rel="import" href="../paper-input/paper-input.html"> | |
| <polymer-element name="cadastro-basico"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; |