Fixed some compiler issues (Creating a build docker)
parent
2d8f29caba
commit
0c1629dc66
|
@ -1 +1 @@
|
|||
Subproject commit bc6d70bd1f4a6778cf51379090d8391dcf53590d
|
||||
Subproject commit 420b947c41df88c6fb32a29add3b12e8ed69b323
|
|
@ -5,18 +5,21 @@
|
|||
"main": "main.js",
|
||||
"directories": {},
|
||||
"scripts": {
|
||||
"compile-sass": "sass --update .:.",
|
||||
"build-web-app": "tsc -p tsconfig/tsconfig_web_app.json",
|
||||
"build-web-app-release": "tsc -p tsconfig/tsconfig_web_app_packaged.json",
|
||||
"build-web-preload": "tsc -p tsconfig/tsconfig_web_preload.json"
|
||||
},
|
||||
"author": "",
|
||||
"author": "TeaSpeak (WolverinDEV)",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/emscripten": "0.0.31",
|
||||
"@types/jquery": "^3.3.0",
|
||||
"@types/node": "^9.4.6",
|
||||
"@types/websocket": "0.0.38",
|
||||
"electron": "^3.0.2"
|
||||
"electron": "^3.0.2",
|
||||
"sass": "^1.14.1",
|
||||
"typescript": "^3.1.1"
|
||||
},
|
||||
"dependencies": {},
|
||||
"repository": {
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=$1
|
||||
text=$2
|
||||
branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
repo_full_name=$(git config --get remote.origin.url | sed 's/.*:\/\/github.com\///;s/.git$//')
|
||||
token=$(git config --global github.token)
|
||||
|
||||
generate_post_data()
|
||||
{
|
||||
cat <<EOF
|
||||
{
|
||||
"tag_name": "$version",
|
||||
"target_commitish": "$branch",
|
||||
"name": "$version",
|
||||
"body": "$text",
|
||||
"draft": false,
|
||||
"prerelease": false
|
||||
}
|
||||
EOF
|
||||
}
|
||||
|
||||
echo "Create release $version for repo: $repo_full_name branch: $branch"
|
||||
curl --data "$(generate_post_data)" "https://api.github.com/repos/$repo_full_name/releases?access_token=$token"
|
|
@ -295,7 +295,7 @@ class ChatBox {
|
|||
|
||||
this.htmlTag.find(".input button").click(this.onSend.bind(this));
|
||||
this.htmlTag.find(".input_box").keypress(event => {
|
||||
if(event.keyCode == $.Key.Enter && !event.shiftKey) {
|
||||
if(event.keyCode == JQuery.Key.Enter && !event.shiftKey) {
|
||||
this.onSend();
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ if (!Array.prototype.last){
|
|||
if(typeof ($) !== "undefined") {
|
||||
if(!$.spawn) {
|
||||
$.spawn = function<K extends keyof HTMLElementTagNameMap>(tagName: K): JQuery<HTMLElementTagNameMap[K]> {
|
||||
return $(document.createElement(tagName));
|
||||
return $(document.createElement(tagName) as any);
|
||||
}
|
||||
}
|
||||
if(!$.prototype.renderTag) {
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
/// <reference path="../codec/Codec.ts" />
|
||||
/// <reference path="VoiceRecorder.ts" />
|
||||
|
||||
import WarningListener = NodeJS.WarningListener;
|
||||
|
||||
class CodecPoolEntry {
|
||||
instance: BasicCodec;
|
||||
owner: number;
|
||||
|
@ -138,7 +136,7 @@ class VoiceConnection {
|
|||
|
||||
private vpacketId: number = 0;
|
||||
private chunkVPacketId: number = 0;
|
||||
private send_task: number = 0;
|
||||
private send_task: NodeJS.Timer;
|
||||
|
||||
constructor(client) {
|
||||
this.client = client;
|
||||
|
|
Loading…
Reference in New Issue