WIP: use strict

This commit is contained in:
cutls
2019-11-24 22:26:19 +09:00
parent ce72432039
commit 2b6cf60868
32 changed files with 37 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
'use strict'
//プラットフォーム別 最後に読むやつ
//リンクを外部で開くか内部で出すか
$(document).on('click', 'a', e => {
@@ -103,7 +104,7 @@ function playSound() {
if (soundFile) {
soundFile.stop()
}
context = new AudioContext()
var context = new AudioContext()
context.createBufferSource().start(0)
context.decodeAudioData(request.response, function(buf) {
//console.log("Playing:" , source)
@@ -123,11 +124,6 @@ function playSound() {
volumeControl.gain.value = vol
source.start(0)
soundFile = source
function newFunction() {
var source
return source
}
}
function nano() {
postMessage(['nano', null], '*')

View File

@@ -1 +1,2 @@
'use strict'
//jQuery読む

View File

@@ -1,3 +1,4 @@
'use strict'
document.title = 'TheDesk'
$.strip_tags = function(str, allowed) {
if (!str) {

View File

@@ -1,3 +1,4 @@
'use strict'
//TL取得
var websocket
function tl(data) {

View File

@@ -1,3 +1,4 @@
'use strict'
var electron = require('electron')
const shell = electron.shell
var ipc = electron.ipcRenderer

View File

@@ -1,3 +1,4 @@
'use strict'
/*! https://mths.be/punycode v1.4.1 by @mathias */
;(function(root) {
/** Detect free variables */