Entendendo a sintaxe básica da linguagem em Y minutos: https://learnxinyminutes.com/docs/javascript/
Aprendendo a sintaxe da versão mais recente da linguagem https://egghead.io/courses/learn-es6-ecmascript-2015
import { AppContainer } from 'react-hot-loader' // Install `npm install react-hot-loader@next` | |
import React from 'react' | |
import App from './App' | |
const renderApp = (Root) => { | |
React.render( | |
<AppContainer> | |
<Root /> | |
</AppContainer>, | |
document.getElementById('app-root') |
Entendendo a sintaxe básica da linguagem em Y minutos: https://learnxinyminutes.com/docs/javascript/
Aprendendo a sintaxe da versão mais recente da linguagem https://egghead.io/courses/learn-es6-ecmascript-2015
I hereby claim:
To claim this, I am signing this object:
function transformToActionNames(actions) { | |
return _.map(actions, (action) => { | |
let newActionName = '' | |
for (var index = 0; index < action.length; index++) { | |
var char = action[index] | |
if (index === 0) { | |
newActionName += char.toUpperCase() | |
continue | |
} | |
if (char == char.toUpperCase()) { |
function handleEvents(event) { | |
switch(event) { | |
// ... | |
case 'sendPayments.vtex': | |
let checkoutPayments = event.data.arguments[0]; | |
let transactionResponse = event.data.arguments[1]; | |
let deviceFingerprint = event.data.arguments[2]; | |
sendPayments(checkoutPayments, transactionResponse, deviceFingerprint); | |
break; | |
} |
System.config({defaultJSExtensions: true}); | |
System.config({ | |
baseUrl: '/', | |
packages: { | |
'brenoc.theme@3.5.0': { | |
map: { | |
'vtex.sdk': 'vtex.sdk@1.0.0', | |
'n1.shelf': 'n1.shelf@0.7.1', | |
'vtex.banner': 'vtex.banner@1.0.0', |
{ | |
"AF": "AFG", | |
"AX": "ALA", | |
"AL": "ALB", | |
"DZ": "DZA", | |
"AS": "ASM", | |
"AD": "AND", | |
"AO": "AGO", | |
"AI": "AIA", | |
"AQ": "ATA", |
var fs = require('fs'); | |
// Files | |
var files = [ | |
'es', | |
'fr', | |
'pt-br', | |
'us' | |
]; |
var express = require('express'); | |
var webpack = require('webpack'); | |
var httpProxy = require('http-proxy'); | |
var proxy = new httpProxy.createProxyServer(); | |
var config = require('./webpack.config'); | |
var app = express(); | |
var compiler = webpack(config); | |
app.use(require('webpack-dev-middleware')(compiler, { |
You can get to the settings by right-clicking the window bar (why this isn't on a [gear] icon is beyond me). If you want it to take over as the default command prompt, the option you want is under Integration > Default Term, its the first checkbox.
Now, to get the MySysGit Bash to open: