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
class Vector3d { | |
static toDegrees(radians){ | |
return (radians * 180) / Math.PI; | |
} | |
static toRadian(degrees){ | |
return (degress * Math.PI) / 180; | |
} | |
static create(x,y,z){ |
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 timeOutId; | |
$('#teste').on('keyup', (evt) => { | |
if(timeOutId){ | |
clearTimeout(timeOutId); | |
} | |
timeOutId = setTimeout( () => { | |
//executa seu script | |
}, 300)//tempo de espera em milisec | |
}) |
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
'.text.html.basic': | |
'Core Component': | |
'prefix': 'ccomponent' | |
'body': """<component name="$1"> | |
<imports> | |
</imports> | |
<template> | |
</template> |