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> | |
<head> | |
<title>My first Three.js app</title> | |
<style> | |
body { margin: 0; } | |
canvas { width: 100%; height: 100% } | |
</style> | |
</head> | |
<body> |
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
$('p,em,b,strong,i,span,h1,h2,h3,h4,h5,h6,li').each(function() { | |
if($(this).text().length == 0 && $(this).children().length == 0){ | |
console.log('Empty Element',$(this)); | |
} | |
}); |
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 objectsToClick = ['Objet-1', 'Objet-2', 'Objet-3', 'Objet-5', | |
'right-object-1', 'right-object-2', 'right-object-3', 'right-object-4', 'right-object-5', 'right-object-6a', 'right-object-7']; | |
var numberToClick = ['No-1', 'No-2', 'No-3', 'No-5', | |
'right-No-1', 'right-No-2', 'right-No-3', 'right-No-4', 'right-No-5', 'right-No-6', 'right-No-7']; | |
var lines = ['line-1', 'line-2', 'line-3', 'line-5', 'right-line-1', 'right-line-2', 'right-line-3', 'right-line-4', 'right-line-5', 'right-line-6', 'right-line-7']; | |
var lineTops = ['line-1-top', 'line-2-top', 'line-3-top', 'line-5-top', 'right-line-1-top', 'right-line-2-top', 'right-line-3-top', 'right-line-4-top', 'right-line-5-top', 'right-line-6-top', 'right-line-7-top' ]; | |
var lineBottoms = ['line-1-bottom', 'line-2-bottom', 'line-3-bottom', 'line-5-bottom', 'right-line-1-bottom', 'right-line-2-bottom', 'right-line-3-bottom', 'right-line-4-bottom', 'right-line-5-bottom', 'right-line-6-bottom', 'right-line-7-bottom']; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder