A web-based drawing app
git clone git://soophie.de/outline
1
{2
"name": "outline",2
"name": "Outline",3
"version": "1.0.0",4
"lockfileVersion": 1,5
"requires": true,
1
{2
"name": "Outline",3
"version": "1.0.0",4
"description": "Draw with friends together",5
"main": "index.js",6
"scripts": {7
},8
"author": "",9
"license": "MIT",10
"dependencies": {11
"express": "^4.17.1",12
"socket.io": "^2.3.0"13
}2
"name": "Outline",3
"version": "1.0.0",4
"description": "Draw with friends together",5
"main": "index.js",6
"scripts": {7
"build": "npm i",8
"start": "node index"9
},10
"repository": {11
"type": "git",12
"url": "https://github.com/typable/Outline.git"13
},14
"author": "",15
"license": "MIT",16
"dependencies": {17
"express": "^4.17.1",18
"socket.io": "^2.3.0"19
}20
}
205
.forEach(function(item) {206
item.addEventListener('mousedown', function(event) {207
env.color = item.dataset.color;208
env.temp = null;208
Array.from(document.querySelectorAll('.bucket'))209
.forEach(function(_item) {210
if(_item != item) {