Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
#VRML V2.0 utf8 | |
Viewpoint{ | |
description "Default" | |
} | |
DEF tr1 Transform { | |
rotation 0.5 0.4 0.1 2 | |
children Transform { |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\powershell] | |
@="Open PowerShell Here" | |
[HKEY_CLASSES_ROOT\Directory\shell\powershell\command] | |
@="C:\\\\Windows\\\\system32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'" |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>Record WebGL to WebM (Chrome only)</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="styles.css" charset="utf-8"> | |
</head> | |
<body> | |
<div class="buttons"> |
'use strict'; | |
/* eslint-env mocha, browser */ | |
const assert = require('assert'); | |
const {h, render, Component} = require('preact'); | |
class TestableComponent extends Component { | |
componentDidMount(){ | |
if (this.props.testable){ | |
this.props.testable(this); |
language: node_js | |
node_js: | |
- '6.9.1' | |
- '7.0.0' | |
sudo: false | |
addons: | |
apt: | |
packages: | |
- xvfb |
[ | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus" |
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, | |
"editor.lineHeight": 24, | |
"editor.insertSpaces": false, | |
"editor.detectIndentation": false, | |
"editor.mouseWheelZoom": true, | |
"editor.renderWhitespace": "boundary", | |
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}", |
Javascript files from the examples folder (such as OrbitControls) are not CommonJS or ES Modules, but they can still be used in Webpack bundles:
In package.json
:
"dependencies": {
"three": "0.84.0",
"webpack": "2.4.1"
}