This file contains 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
<h1>Flutter in DartPad live app</h1> | |
<div> | |
<canvas id="canvas" width="300" height="300"></canvas> | |
</div> | |
This file contains 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
function login(n) { | |
return account.login(n) | |
} | |
function logout() { | |
return account.logout() | |
} | |
function register() { | |
return account.register() | |
} | |
function deliverT2() { |
This file contains 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
/** | |
* express static server for react build/dist test! | |
*/ | |
// simple express server for HTML pages! | |
// ES6 style | |
const express = require('express'); | |
const fs = require('fs'); | |
const hostname = '127.0.0.1'; |
http://www.ecma-international.org/ecma-262/6.0/#sec-class-definitions
14.5 Class Definitions
Syntax