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
<html><title> Atlas 3D </title></html> |
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
//@ts-check | |
async function massBlock() { | |
const dummy = {}; | |
const progressPopup = await showProgressPopup(); | |
const thumbsUp = '\uD83D\uDC4D'; | |
async function showProgressPopup() { | |
const animationTimeMsec = 200; |
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
// @ts-check | |
/// <reference types="node" /> | |
var ts = require('typescript'); // little change | |
var tsconfig_json = JSON.stringify({ | |
compilerOptions: { | |
outFile: __filename + '.out.js', | |
allowJs: true, | |
checkJs: true, |
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 Play</title> | |
<link rel="stylesheet" href="https://unpkg.com/codemirror/lib/codemirror.css"> | |
<style> | |
html { |
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
<html> | |
<head><title>Folding freeze demo</title> | |
<link rel=stylesheet href='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/lib/codemirror.css'> | |
<script src='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/lib/codemirror.js'></script> | |
<link rel=stylesheet href='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/addon/fold/foldgutter.css'> | |
<script src='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/addon/fold/foldcode.js'></script> | |
<script src='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/addon/fold/foldgutter.js'></script> | |
<script src='//cdn.rawgit.com/codemirror/CodeMirror/07779394f3d5b756abc2f54e15999134627436a7/addon/fold/brace-fold.js'></script> |
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
<html> | |
<head><title>disabling keyboard editing via keydown.preventDefault()</title></head> | |
<body> | |
<h2>disabling keyboard editing via keydown.preventDefault()</h2> | |
<textarea id=txt></textarea> | |
<script> | |
window.onload = function() { | |
var txt = document.getElementById('txt'); |
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> | |
<title>CodeMirror</title> | |
<meta charset="utf-8"/> | |
<link rel=stylesheet href="https://codemirror.net/lib/codemirror.css"> | |
<script src="https://raw.githack.com/mihailik/CodeMirror/patch-7/lib/codemirror.js"></script> | |
<script src="https://codemirror.net/mode/xml/xml.js"></script> | |
<script src="https://codemirror.net/mode/javascript/javascript.js"></script> | |
<script src="https://codemirror.net/mode/css/css.js"></script> | |
<script src="https://codemirror.net/mode/htmlmixed/htmlmixed.js"></script> |
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
<body> | |
<h2>test</h2> | |
<pre id=result></pre> | |
<script> | |
var result = document.getElementById('result') | |
try { | |
var text = (function() { return /\/\*\s*([\s\S]*\S)\s*\*\//.exec(arguments.callee.toString()||[])[1]; /* | |
{"accountIds":[2340561],"dealIds":["101590127"],"targetWeight":1.0,"standardWeightMultiper":1.0,"weightScalingFactor":0.0,"rebalanceOption":"StandardWeightMuliple","accountRebalance":true} | |
*/ })(); |
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
<html> | |
<title>Demo Knockout</title> | |
<script src="http://knockoutjs.com/downloads/knockout-3.3.0.debug.js"></script> | |
<h2 data-bind="style: {opacity: Math.random() > 0.5 ? 0.5 : 0.2 }" style="font-size: 120%;"> | |
OK something here | |
</h2> | |
<script> | |
ko.applyBindings({}); | |
</script> |
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
<html> | |
<pre id=myscriptout> | |
</pre> | |
<div id=myout> | |
</div> | |
<script id=myfunc type=text> | |
function ro() { | |
"use strict"; |
NewerOlder