From 96bafb46143af5839acc1b5fc40fa200f902930d Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sun, 28 Aug 2016 22:56:39 -0400 Subject: [PATCH 1/2] Add contribute.json --- static/contribute.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 static/contribute.json diff --git a/static/contribute.json b/static/contribute.json new file mode 100644 index 0000000..ac522fe --- /dev/null +++ b/static/contribute.json @@ -0,0 +1,29 @@ +{ + "name": "HTMLhouse", + "description": "An application for sharing HTML quickly.", + "repository": { + "url": "https://github.com/writeas/htmlhouse", + "license": "MIT" + }, + "participate": { + "docs": "", + "irc": "irc://irc.freenode.net/writeas", + "irc-contacts": [ + "thebaer" + ] + }, + "bugs": { + "list": "https://github.com/writeas/htmlhouse/issues", + "report": "https://github.com/writeas/htmlhouse/issues/new" + }, + "urls": { + "prod": "https://html.house" + }, + "keywords": [ + "go", + "golang", + "less-css", + "html5", + "javascript" + ] +} From 2d837b32a2b879fad67a86217424088db896e129 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sun, 11 Sep 2016 09:50:42 -0400 Subject: [PATCH 2/2] Put editor JS in a closure --- templates/editor.html | 158 +++++++++++++++++++++++++------------------------- 1 file changed, 80 insertions(+), 78 deletions(-) diff --git a/templates/editor.html b/templates/editor.html index 8188a94..6efd4b7 100644 --- a/templates/editor.html +++ b/templates/editor.html @@ -51,92 +51,94 @@