This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let id = 0; | |
let init = []; | |
socket.ws.send('{"cmd":"GetScript"}'); | |
socket.onMessage( data => { | |
if (data.cmd == 'SetScript') { | |
Parse(data.script); | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function initmark(status){ | |
initmarkstatus = status; | |
console.log('initmark(status)',status); | |
if (!status){ | |
document.body.onmouseover = function(){}; | |
document.body.onmouseout = function(){}; | |
return | |
} | |
var saveFirstStyle = {backgroundColor: null, opacity: null}; | |
function mouseover(e){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Neuron</title> | |
</head> | |
<script> | |
let save = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function manager_mode(options){//парсит url на наличие параметров прописаных через хеш(#) | |
options = options ? options : options === false ? false : {}; | |
if (!options) { //удаляем Stor если передали false | |
window.sessionStorage.removeItem('manager_mode'); | |
return; | |
} | |
var hash = window.location.hash; | |
var getParam = JSON.parse( sessionStorage.getItem('manager_mode') ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const gulp = require('gulp'); | |
const babel = require('gulp-babel'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
const gutil = require('gulp-util'); | |
const clean = require('gulp-clean'); | |
const concat = require('gulp-concat'); | |
const uglify = require('gulp-uglify'); | |
const rename = require('gulp-rename'); | |
const filesize = require('gulp-filesize'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var aud = document.getElementsByClassName('current_audio')[0].textContent; | |
var audio = aud; | |
var memmory = []; | |
memmory.push(audio); | |
setIterval(()=>{ | |
aud = document.getElementsByClassName('current_audio')[0].textContent; | |
if(audio != aud){ | |
memmory.push(aud); | |
audio = aud; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="root"> | |
<input type="text" class="form-control" placeholder="Введите имя" value=""> | |
<ul></ul> | |
</div> |
OlderNewer