jsgui3-server 0.0.80 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -13,8 +13,8 @@
13
13
  "cookies": "^0.8.0",
14
14
  "fnl": "^0.0.21",
15
15
  "fnlfs": "^0.0.24",
16
- "jsgui3-client": "^0.0.64",
17
- "jsgui3-html": "0.0.89",
16
+ "jsgui3-client": "^0.0.65",
17
+ "jsgui3-html": "0.0.91",
18
18
  "lang-mini": "^0.0.24",
19
19
  "multiparty": "^4.2.3",
20
20
  "ncp": "^2.0.0",
@@ -40,5 +40,5 @@
40
40
  "type": "git",
41
41
  "url": "https://github.com/metabench/jsgui3-server.git"
42
42
  },
43
- "version": "0.0.80"
43
+ "version": "0.0.81"
44
44
  }
@@ -287,69 +287,6 @@ const test_js_ast_node = () => {
287
287
 
288
288
  }
289
289
 
290
-
291
-
292
-
293
-
294
-
295
- // query.collect.pattern.inner.identifier.exe()
296
- // query.collect.pattern.child.property.exe()
297
-
298
- // query.collect.pattern.exe().query.collect.child.property.exe();
299
-
300
-
301
-
302
-
303
-
304
- // Nice, being able to query the results is good.
305
- // But will get it working with more verbs than just collect.
306
-
307
-
308
-
309
-
310
-
311
- // .string?
312
- // .qstring
313
-
314
-
315
- //const q2res = q2.exe(cn => {
316
- // console.log('cn', cn);
317
- //});
318
-
319
- // each child declaration
320
- // identifier
321
-
322
-
323
- // .exe function executes the query.
324
-
325
- // Could load in various query handling modules in a tree.
326
-
327
- // .each.child.declaration
328
-
329
- // Then a fairly large OO query system could do it.
330
- // Consider if that's best.
331
- // Seems best, considering usage of various objects such as relationships.
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
- // then can use specific (level 2) properties when we have a Declaration of VariableDeclaration
343
-
344
- // let's put it in the VariableDeclaration class.
345
-
346
-
347
-
348
- // declaration.left_terms?
349
-
350
-
351
-
352
-
353
290
  const earlier_tests = () => {
354
291
 
355
292
  console.log('js_ast_node.category', js_ast_node.category);
@@ -28,6 +28,17 @@ var serve_html_file_from_disk = function(filePath, response) {
28
28
  // File_Server_Resource?
29
29
  // So the resource has code to route to the file and then serve it.
30
30
 
31
+ // Also a Templated_HTML resource?
32
+ // Connects to HTML_Template
33
+ // Connects to Data_Resource
34
+ // Populates the HTML_Template data from the Data_Resource
35
+
36
+ // HTML_Template being a Data_Transformation / Data_Transformation_Resource / Transformation_Resource
37
+ // Codecs could be another type of Transformation_Resource
38
+
39
+ // Transformation Resource could / should appear in jsgui3-client. Makes sense on the client too.
40
+
41
+
31
42
  class Site_Static_HTML extends Resource {
32
43
 
33
44
  constructor(spec) {