1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2025-09-05 21:10:16 +02:00

Switched to proper babel-minify lib

I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
This commit is contained in:
zneix 2020-09-20 18:18:38 +02:00
parent 45b4ce87a8
commit 509971c5ac
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 911916E0523B22F6
7 changed files with 1409 additions and 341 deletions

View file

@ -340,15 +340,6 @@ haste.extensionMap = {
sc: 'scala', sm: 'smalltalk', ts: 'typscript', vbs: 'vbscript', html: 'xml', htm: 'xml',
};
///// Tab behavior in the textarea - 2 spaces per tab
$(function(){
$('textarea').keydown(function(evt){

View file

@ -1,7 +1,5 @@
<html>
<head>
<title>hastebin</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="solarized_dark.css"/>
@ -47,7 +45,7 @@
<ul id="messages"></ul>
<div id="key">
<div id="pointer" style="display:none;"></div>
<div id="pointer" style="display: none;"></div>
<div id="box1">
<a href="about.md" class="logo"></a>
</div>
@ -65,9 +63,7 @@
</div>
<div id="linenos"></div>
<pre id="box" style="display:none;" class="hljs" tabindex="0"><code></code></pre>
<textarea spellcheck="false" style="display:none;"></textarea>
<pre id="box" style="display: none;" class="hljs" tabindex="0"><code></code></pre>
<textarea spellcheck="false" style="display: none;"></textarea>
</body>
</html>