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
'APPLICATION' in Symbol || Reflect.set(Symbol, 'APPLICATION', { configurable: false, enumerable: false, value: Symbol(`APPLICATION#${+new Date}`) }); | |
'COMPONENTS' in Symbol || Reflect.set(Symbol, 'COMPONENTS', { configurable: false, enumerable: false, value: Symbol(`COMPONENTS#${+new Date}`) }); | |
'COMPONENT' in Symbol || Reflect.set(Symbol, 'COMPONENT', { configurable: false, enumerable: false, value: Symbol(`COMPONENT#${+new Date}`) }); | |
class A { | |
get [Symbol.COMPONENTS]() { | |
return 'ALL'; | |
} | |
get [Symbol.COMPONENT]() { | |
return 'ONE'; | |
} |
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
PS F:\Profiles\Caleb YOMI\#apps\betsport> ./mvnw -Pprod clean package | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Betsport 0.0.1-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ betsport --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (default-resources) @ betsport --- |
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
<!doctype html> | |
<html class="no-js" lang="fr" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>betsport</title> | |
<meta name="description" content=""> | |
<meta name="google" value="notranslate"> | |
<meta name="theme-color" content="#000000"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
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
[nodemon] restarting due to changes... | |
[nodemon] starting `jasmine JASMINE_CONFIG_PATH=jasmine.json` | |
Started | |
.....{ StatusCodeError: 401 - {"status":"Token has expired"} | |
at new StatusCodeError (/mch-gw/node_modules/request-promise-core/lib/errors.js:32:15) | |
at Request.plumbing.callback (/mch-gw/node_modules/request-promise-core/lib/plumbing.js:104:33) | |
at Request.RP$callback [as _callback] (/mch-gw/node_modules/request-promise-core/lib/plumbing.js:46:31) | |
at Request.self.callback (/mch-gw/node_modules/request/request.js:186:22) | |
at emitTwo (events.js:126:13) | |
at Request.emit (events.js:214:7) |
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
#!/usr/bin/env bash | |
help() | |
{ | |
bel=`tput bel` | |
bold=`tput bold` | |
normal=`tput sgr0` | |
red=`tput setaf 2` | |
blue=`tput setaf 4` | |
underline=`tput smul` |
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
{ | |
"compilerOptions": { | |
"target": "es2015", | |
"module": "es2015", | |
} | |
} |
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
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "commonjs", | |
} | |
} |
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
export const data = { | |
message: 'Hello world', | |
}; |
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
import { data } from './data'; | |
alert( data.message ); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>TypeScript for the web</title> | |
</head> | |
<body> | |
<script src="./index.js"></script> |
OlderNewer