changed code -> Tiny formatting change
Mainly just testing pushing from home
This commit is contained in:
parent
9d10fe5a79
commit
ba42f9bac7
12
.idea/JS-Game.iml
Normal file
12
.idea/JS-Game.iml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/JS-Game.iml" filepath="$PROJECT_DIR$/.idea/JS-Game.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
3
code.js
3
code.js
@ -1,9 +1,10 @@
|
||||
let fieldId = 0;
|
||||
let somethingIsSelected = false;
|
||||
|
||||
for(let i = 0; i < 64; i++){
|
||||
fieldId = i.toString();
|
||||
document.getElementById("field"+fieldId).selected = 0;
|
||||
}
|
||||
let somethingIsSelected = false;
|
||||
function selectField(field){
|
||||
console.log(field.id);
|
||||
for(let i = 0; i < 64; i++){
|
||||
|
Loading…
Reference in New Issue
Block a user