https://drive.google.com/open?id=19U6-6Nl2FntiwUJCn5PoxAWPPlh-zj04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html ⚡> | |
<head> | |
<meta charset="utf-8"> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<script async custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-0.1.js"></script> | |
<script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script> | |
<link rel="canonical" href="https://ampbyexample.com/components/amp-form/"> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidde |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import coreClasses from '../css/core.css'; | |
import componentClasses from './MyComponent.css'; | |
export default class MyComponent extends React.Component { | |
render() { | |
return ( | |
<div className="jumbotron"> | |
<h1>Minimalistic React Starter Kit</h1> | |
<div><a className={coreClasses.link} target="_blank" href="/test">Test</a></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let User = require('./models/userModel') | |
passport.use(User.createStrategy()); | |
let Enterprise = require('./models/enterpriseModel') | |
let EnterpriseStrategy = require('passport-local').Strategy | |
passport.use('enterprise-local', new EnterpriseStrategy(Enterprise.authenticate())) | |
passport.serializeUser(function(user, done) { | |
let type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-06-28T01:59:54.836Z","extensionVersion":"v2.8.1"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state = { | |
devTredns : [ | |
{name: 'es6': value: 8}, | |
{name: 'ionic': value: 7}, | |
{name: 'react': value: 10}, | |
{name: 'reactnative': value: 10} | |
] | |
} | |
myHandler = () => { |