Yesoda Sanka 6 lat temu
rodzic
commit
6d4a6e5c7f
6 zmienionych plików z 471 dodań i 24 usunięć
  1. 9
    0
      .idea/JSON-Lab-1.iml
  2. 7
    0
      .idea/misc.xml
  3. 8
    0
      .idea/modules.xml
  4. 6
    0
      .idea/vcs.xml
  5. 415
    0
      .idea/workspace.xml
  6. 26
    24
      js/colors.js

+ 9
- 0
.idea/JSON-Lab-1.iml Wyświetl plik

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 7
- 0
.idea/misc.xml Wyświetl plik

@@ -0,0 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="FLOW" />
5
+  </component>
6
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK" />
7
+</project>

+ 8
- 0
.idea/modules.xml Wyświetl plik

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/JSON-Lab-1.iml" filepath="$PROJECT_DIR$/.idea/JSON-Lab-1.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
.idea/vcs.xml Wyświetl plik

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 415
- 0
.idea/workspace.xml Wyświetl plik

@@ -0,0 +1,415 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="4067142a-23b6-4d76-86c4-6d2b5035bdd5" name="Default Changelist" comment="">
5
+      <change beforePath="$PROJECT_DIR$/js/colors.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/colors.js" afterDir="false" />
6
+    </list>
7
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+    <option name="SHOW_DIALOG" value="false" />
9
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+    <option name="LAST_RESOLUTION" value="IGNORE" />
12
+  </component>
13
+  <component name="FUSProjectUsageTrigger">
14
+    <session id="603103915">
15
+      <usages-collector id="statistics.lifecycle.project">
16
+        <counts>
17
+          <entry key="project.open.time.16" value="1" />
18
+          <entry key="project.opened" value="1" />
19
+        </counts>
20
+      </usages-collector>
21
+      <usages-collector id="statistics.file.extensions.open">
22
+        <counts>
23
+          <entry key="html" value="1" />
24
+          <entry key="jpg" value="1" />
25
+          <entry key="js" value="2" />
26
+          <entry key="md" value="1" />
27
+          <entry key="png" value="1" />
28
+        </counts>
29
+      </usages-collector>
30
+      <usages-collector id="statistics.file.types.open">
31
+        <counts>
32
+          <entry key="HTML" value="1" />
33
+          <entry key="Image" value="2" />
34
+          <entry key="JavaScript" value="2" />
35
+          <entry key="Markdown" value="1" />
36
+        </counts>
37
+      </usages-collector>
38
+      <usages-collector id="statistics.file.extensions.edit">
39
+        <counts>
40
+          <entry key="js" value="64" />
41
+        </counts>
42
+      </usages-collector>
43
+      <usages-collector id="statistics.file.types.edit">
44
+        <counts>
45
+          <entry key="JavaScript" value="64" />
46
+        </counts>
47
+      </usages-collector>
48
+    </session>
49
+  </component>
50
+  <component name="FileEditorManager">
51
+    <leaf>
52
+      <file pinned="false" current-in-tab="true">
53
+        <entry file="file://$PROJECT_DIR$/js/colors.js">
54
+          <provider selected="true" editor-type-id="text-editor">
55
+            <state relative-caret-position="90">
56
+              <caret line="6" column="27" lean-forward="true" selection-start-line="6" selection-start-column="27" selection-end-line="6" selection-end-column="27" />
57
+            </state>
58
+          </provider>
59
+        </entry>
60
+      </file>
61
+      <file pinned="false" current-in-tab="false">
62
+        <entry file="file://$PROJECT_DIR$/js/index.js">
63
+          <provider selected="true" editor-type-id="text-editor">
64
+            <state relative-caret-position="690">
65
+              <caret line="46" column="8" selection-start-line="46" selection-start-column="8" selection-end-line="46" selection-end-column="8" />
66
+            </state>
67
+          </provider>
68
+        </entry>
69
+      </file>
70
+      <file pinned="false" current-in-tab="false">
71
+        <entry file="file://$PROJECT_DIR$/index.html">
72
+          <provider selected="true" editor-type-id="text-editor">
73
+            <state relative-caret-position="120">
74
+              <caret line="8" column="38" lean-forward="true" selection-start-line="8" selection-start-column="38" selection-end-line="8" selection-end-column="38" />
75
+            </state>
76
+          </provider>
77
+        </entry>
78
+      </file>
79
+      <file pinned="false" current-in-tab="false">
80
+        <entry file="file://$PROJECT_DIR$/images/logos/js_logo.png">
81
+          <provider selected="true" editor-type-id="images" />
82
+        </entry>
83
+      </file>
84
+      <file pinned="false" current-in-tab="false">
85
+        <entry file="file://$PROJECT_DIR$/images/logos/zip_logo.jpg">
86
+          <provider selected="true" editor-type-id="images" />
87
+        </entry>
88
+      </file>
89
+      <file pinned="false" current-in-tab="false">
90
+        <entry file="file://$PROJECT_DIR$/README.md">
91
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
92
+            <state split_layout="FIRST">
93
+              <first_editor relative-caret-position="75">
94
+                <caret line="5" selection-start-line="5" selection-end-line="5" />
95
+              </first_editor>
96
+              <second_editor />
97
+            </state>
98
+          </provider>
99
+        </entry>
100
+      </file>
101
+    </leaf>
102
+  </component>
103
+  <component name="Git.Settings">
104
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
105
+  </component>
106
+  <component name="IdeDocumentHistory">
107
+    <option name="CHANGED_PATHS">
108
+      <list>
109
+        <option value="$PROJECT_DIR$/js/colors.js" />
110
+      </list>
111
+    </option>
112
+  </component>
113
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
114
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
115
+  <component name="JsFlowSettings">
116
+    <service-enabled>true</service-enabled>
117
+    <exe-path />
118
+    <other-services-enabled>true</other-services-enabled>
119
+    <auto-save>true</auto-save>
120
+  </component>
121
+  <component name="JsGulpfileManager">
122
+    <detection-done>true</detection-done>
123
+    <sorting>DEFINITION_ORDER</sorting>
124
+  </component>
125
+  <component name="ProjectFrameBounds" extendedState="6">
126
+    <option name="x" value="10" />
127
+    <option name="y" value="43" />
128
+    <option name="width" value="1260" />
129
+    <option name="height" value="674" />
130
+  </component>
131
+  <component name="ProjectView">
132
+    <navigator proportions="" version="1">
133
+      <foldersAlwaysOnTop value="true" />
134
+    </navigator>
135
+    <panes>
136
+      <pane id="PackagesPane" />
137
+      <pane id="ProjectPane">
138
+        <subPane>
139
+          <expand>
140
+            <path>
141
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
142
+              <item name="JSON-Lab-1" type="462c0819:PsiDirectoryNode" />
143
+            </path>
144
+            <path>
145
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
146
+              <item name="JSON-Lab-1" type="462c0819:PsiDirectoryNode" />
147
+              <item name="css" type="462c0819:PsiDirectoryNode" />
148
+            </path>
149
+            <path>
150
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
151
+              <item name="JSON-Lab-1" type="462c0819:PsiDirectoryNode" />
152
+              <item name="images" type="462c0819:PsiDirectoryNode" />
153
+            </path>
154
+            <path>
155
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
156
+              <item name="JSON-Lab-1" type="462c0819:PsiDirectoryNode" />
157
+              <item name="images" type="462c0819:PsiDirectoryNode" />
158
+              <item name="logos" type="462c0819:PsiDirectoryNode" />
159
+            </path>
160
+            <path>
161
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
162
+              <item name="JSON-Lab-1" type="462c0819:PsiDirectoryNode" />
163
+              <item name="js" type="462c0819:PsiDirectoryNode" />
164
+            </path>
165
+            <path>
166
+              <item name="JSON-Lab-1" type="b2602c69:ProjectViewProjectNode" />
167
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
168
+            </path>
169
+          </expand>
170
+          <select />
171
+        </subPane>
172
+      </pane>
173
+      <pane id="Scope" />
174
+    </panes>
175
+  </component>
176
+  <component name="PropertiesComponent">
177
+    <property name="WebServerToolWindowFactoryState" value="false" />
178
+    <property name="aspect.path.notification.shown" value="true" />
179
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/js/index.js" />
180
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
181
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
182
+    <property name="project.structure.last.edited" value="Project" />
183
+    <property name="project.structure.proportion" value="0.0" />
184
+    <property name="project.structure.side.proportion" value="0.0" />
185
+    <property name="settings.editor.selected.configurable" value="Settings.JavaScript" />
186
+  </component>
187
+  <component name="RunDashboard">
188
+    <option name="ruleStates">
189
+      <list>
190
+        <RuleState>
191
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
192
+        </RuleState>
193
+        <RuleState>
194
+          <option name="name" value="StatusDashboardGroupingRule" />
195
+        </RuleState>
196
+      </list>
197
+    </option>
198
+  </component>
199
+  <component name="RunManager" selected="Node.js.colors.js">
200
+    <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug" uri="file://$PROJECT_DIR$/js/colors.js">
201
+      <method v="2" />
202
+    </configuration>
203
+    <configuration name="Unnamed" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="node" working-dir="$PROJECT_DIR$/js">
204
+      <method v="2" />
205
+    </configuration>
206
+    <configuration name="colors.js" type="NodeJSConfigurationType" factoryName="Node.js" nameIsGenerated="true" path-to-js-file="js/colors.js" working-dir="$PROJECT_DIR$">
207
+      <method v="2" />
208
+    </configuration>
209
+    <list>
210
+      <item itemvalue="Node.js.Unnamed" />
211
+      <item itemvalue="Node.js.colors.js" />
212
+    </list>
213
+  </component>
214
+  <component name="SvnConfiguration">
215
+    <configuration />
216
+  </component>
217
+  <component name="TaskManager">
218
+    <task active="true" id="Default" summary="Default task">
219
+      <changelist id="4067142a-23b6-4d76-86c4-6d2b5035bdd5" name="Default Changelist" comment="" />
220
+      <created>1543366766569</created>
221
+      <option name="number" value="Default" />
222
+      <option name="presentableId" value="Default" />
223
+      <updated>1543366766569</updated>
224
+      <workItem from="1543366776582" duration="2961000" />
225
+    </task>
226
+    <servers />
227
+  </component>
228
+  <component name="TimeTrackingManager">
229
+    <option name="totallyTimeSpent" value="2961000" />
230
+  </component>
231
+  <component name="ToolWindowManager">
232
+    <frame x="0" y="23" width="1280" height="722" extended-state="6" />
233
+    <layout>
234
+      <window_info id="Designer" order="0" />
235
+      <window_info id="UI Designer" order="1" />
236
+      <window_info id="Learn" order="2" />
237
+      <window_info content_ui="combo" id="Project" order="3" weight="0.24555735" />
238
+      <window_info id="Structure" order="4" side_tool="true" weight="0.25" />
239
+      <window_info id="Favorites" order="5" side_tool="true" />
240
+      <window_info anchor="bottom" id="Messages" />
241
+      <window_info anchor="bottom" id="Terminal" order="0" weight="0.3294893" />
242
+      <window_info anchor="bottom" id="Event Log" order="1" side_tool="true" />
243
+      <window_info anchor="bottom" id="Message" order="2" />
244
+      <window_info anchor="bottom" id="Find" order="3" />
245
+      <window_info anchor="bottom" id="Version Control" order="4" />
246
+      <window_info active="true" anchor="bottom" id="Run" order="5" visible="true" weight="0.3294893" />
247
+      <window_info anchor="bottom" id="Debug" order="6" weight="0.4" />
248
+      <window_info anchor="bottom" id="Cvs" order="7" weight="0.25" />
249
+      <window_info anchor="bottom" id="Inspection" order="8" weight="0.4" />
250
+      <window_info anchor="bottom" id="TODO" order="9" />
251
+      <window_info anchor="right" id="Palette&#9;" order="0" />
252
+      <window_info anchor="right" id="Maven Projects" order="1" />
253
+      <window_info anchor="right" id="Palette" order="2" />
254
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="3" type="SLIDING" weight="0.4" />
255
+      <window_info anchor="right" id="Ant Build" order="4" weight="0.25" />
256
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="5" weight="0.25" />
257
+    </layout>
258
+    <layout-to-restore>
259
+      <window_info id="Designer" order="0" />
260
+      <window_info id="UI Designer" order="1" />
261
+      <window_info id="Learn" order="2" />
262
+      <window_info content_ui="combo" id="Project" order="3" visible="true" weight="0.24555735" />
263
+      <window_info id="Structure" order="4" side_tool="true" weight="0.25" />
264
+      <window_info id="Favorites" order="5" side_tool="true" />
265
+      <window_info anchor="bottom" id="Terminal" order="0" weight="0.3294893" />
266
+      <window_info anchor="bottom" id="Event Log" order="1" side_tool="true" />
267
+      <window_info anchor="bottom" id="Message" order="2" />
268
+      <window_info anchor="bottom" id="Find" order="3" />
269
+      <window_info anchor="bottom" id="Version Control" order="4" />
270
+      <window_info active="true" anchor="bottom" id="Run" order="5" visible="true" weight="0.3294893" />
271
+      <window_info anchor="bottom" id="Debug" order="6" weight="0.4" />
272
+      <window_info anchor="bottom" id="Cvs" order="7" weight="0.25" />
273
+      <window_info anchor="bottom" id="Inspection" order="8" weight="0.4" />
274
+      <window_info anchor="bottom" id="TODO" order="9" />
275
+      <window_info anchor="right" id="Palette&#9;" order="0" />
276
+      <window_info anchor="right" id="Maven Projects" order="1" />
277
+      <window_info anchor="right" id="Palette" order="2" />
278
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="3" type="SLIDING" weight="0.4" />
279
+      <window_info anchor="right" id="Ant Build" order="4" weight="0.25" />
280
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="5" weight="0.25" />
281
+    </layout-to-restore>
282
+  </component>
283
+  <component name="TypeScriptGeneratedFilesManager">
284
+    <option name="version" value="1" />
285
+  </component>
286
+  <component name="VcsContentAnnotationSettings">
287
+    <option name="myLimit" value="2678400000" />
288
+  </component>
289
+  <component name="editorHistoryManager">
290
+    <entry file="file://$PROJECT_DIR$/README.md">
291
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
292
+        <state split_layout="FIRST">
293
+          <first_editor relative-caret-position="75">
294
+            <caret line="5" selection-start-line="5" selection-end-line="5" />
295
+          </first_editor>
296
+          <second_editor />
297
+        </state>
298
+      </provider>
299
+    </entry>
300
+    <entry file="file://$PROJECT_DIR$/images/logos/js_logo.png">
301
+      <provider selected="true" editor-type-id="images" />
302
+    </entry>
303
+    <entry file="file://$PROJECT_DIR$/images/logos/zip_logo.jpg">
304
+      <provider selected="true" editor-type-id="images" />
305
+    </entry>
306
+    <entry file="file://$PROJECT_DIR$/js/index.js">
307
+      <provider selected="true" editor-type-id="text-editor">
308
+        <state relative-caret-position="690">
309
+          <caret line="46" column="8" selection-start-line="46" selection-start-column="8" selection-end-line="46" selection-end-column="8" />
310
+        </state>
311
+      </provider>
312
+    </entry>
313
+    <entry file="file://$PROJECT_DIR$/index.html">
314
+      <provider selected="true" editor-type-id="text-editor">
315
+        <state relative-caret-position="120">
316
+          <caret line="8" column="38" lean-forward="true" selection-start-line="8" selection-start-column="38" selection-end-line="8" selection-end-column="38" />
317
+        </state>
318
+      </provider>
319
+    </entry>
320
+    <entry file="file://$PROJECT_DIR$/js/colors.js">
321
+      <provider selected="true" editor-type-id="text-editor">
322
+        <state relative-caret-position="90">
323
+          <caret line="6" column="27" lean-forward="true" selection-start-line="6" selection-start-column="27" selection-end-line="6" selection-end-column="27" />
324
+        </state>
325
+      </provider>
326
+    </entry>
327
+  </component>
328
+  <component name="masterDetails">
329
+    <states>
330
+      <state key="ArtifactsStructureConfigurable.UI">
331
+        <settings>
332
+          <artifact-editor />
333
+          <splitter-proportions>
334
+            <option name="proportions">
335
+              <list>
336
+                <option value="0.2" />
337
+              </list>
338
+            </option>
339
+          </splitter-proportions>
340
+        </settings>
341
+      </state>
342
+      <state key="FacetStructureConfigurable.UI">
343
+        <settings>
344
+          <last-edited>No facets are configured</last-edited>
345
+          <splitter-proportions>
346
+            <option name="proportions">
347
+              <list>
348
+                <option value="0.2" />
349
+              </list>
350
+            </option>
351
+          </splitter-proportions>
352
+        </settings>
353
+      </state>
354
+      <state key="GlobalLibrariesConfigurable.UI">
355
+        <settings>
356
+          <splitter-proportions>
357
+            <option name="proportions">
358
+              <list>
359
+                <option value="0.2" />
360
+              </list>
361
+            </option>
362
+          </splitter-proportions>
363
+        </settings>
364
+      </state>
365
+      <state key="JdkListConfigurable.UI">
366
+        <settings>
367
+          <last-edited>1.8</last-edited>
368
+          <splitter-proportions>
369
+            <option name="proportions">
370
+              <list>
371
+                <option value="0.2" />
372
+              </list>
373
+            </option>
374
+          </splitter-proportions>
375
+        </settings>
376
+      </state>
377
+      <state key="ModuleStructureConfigurable.UI">
378
+        <settings>
379
+          <last-edited>JSON-Lab-1</last-edited>
380
+          <splitter-proportions>
381
+            <option name="proportions">
382
+              <list>
383
+                <option value="0.2" />
384
+                <option value="0.6" />
385
+              </list>
386
+            </option>
387
+          </splitter-proportions>
388
+        </settings>
389
+      </state>
390
+      <state key="ProjectJDKs.UI">
391
+        <settings>
392
+          <last-edited>1.8</last-edited>
393
+          <splitter-proportions>
394
+            <option name="proportions">
395
+              <list>
396
+                <option value="0.2" />
397
+              </list>
398
+            </option>
399
+          </splitter-proportions>
400
+        </settings>
401
+      </state>
402
+      <state key="ProjectLibrariesConfigurable.UI">
403
+        <settings>
404
+          <splitter-proportions>
405
+            <option name="proportions">
406
+              <list>
407
+                <option value="0.2" />
408
+              </list>
409
+            </option>
410
+          </splitter-proportions>
411
+        </settings>
412
+      </state>
413
+    </states>
414
+  </component>
415
+</project>

+ 26
- 24
js/colors.js Wyświetl plik

@@ -1,33 +1,35 @@
1
-var colorsArray : {
2
-    colors=[
1
+var colorsArray;
2
+colorsArray = {
3
+    "colors": [
3 4
         {
4
-            "name":"green",
5
-            "red":"64",
6
-            "green":"175",
7
-            "blue":"63",
5
+            "name": "green",
6
+            "red": "64",
7
+            "green": "175",
8
+            "blue": "63",
8 9
         },
9 10
         {
10
-            "name":"yellow",
11
-            "red":"239",
12
-            "green":"183",
13
-            "blue":"62"
11
+            "name": "red",
12
+            "red": "192",
13
+            "green": "46",
14
+            "blue": "35",
14 15
         },
15 16
         {
16
-            name:"red",
17
-            red:"192",
18
-            green:"46",
19
-            blue:"35"
20
-        }
21
-        {
22
-            "name":"blue",
23
-            "red":"19",
24
-            "green":"71",
25
-            "blue":"144",
17
+            "name": "yellow",
18
+            "red": "239",
19
+            "green": "183",
20
+            "blue": "62",
26 21
         },
27 22
         {
28
-            "name"="orange",
29
-            "red"="253",
30
-            "green"="92",
31
-            "blue"="48"
23
+            "name": "blue",
24
+            "red": "19",
25
+            "green": "71",
26
+            "blue": "144",
32 27
         },
28
+        {
29
+            "name": "orange",
30
+            "red": "253",
31
+            "green": "92",
32
+            "blue": "48"
33
+        }
33 34
     ]
35
+};