From e932968e47d3851b3e7cc6ed63259374fd316fd6 Mon Sep 17 00:00:00 2001 From: ogewan Date: Fri, 1 Apr 2016 14:06:49 -0500 Subject: [PATCH] added some comments --- factory/initialize.js | 1 + labs/specification_v5.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/factory/initialize.js b/factory/initialize.js index 2897b04..c807a01 100644 --- a/factory/initialize.js +++ b/factory/initialize.js @@ -27,6 +27,7 @@ cG.cPanel = cG.cPanel||{};/*cG control panel, all stages are stored here*/ * noverwrite - by default, stageInjection cannot overwrite already inserted comics, set to false to allow overwriting * arrow - toggles arrow key navigation * click - toggles click navigation +* vscript - virtual script allows, a script defined as a JS variable to overwrite the script request (Writer) * addme = supports additive jsons*/ cG.info = {vix: "1.3.0",vwr: "2.0.0",vpr: "0.1.0"};/*version settings*/ cG.dis = cG.dis||{};//disables statistic and error reporting diff --git a/labs/specification_v5.json b/labs/specification_v5.json index 7cf6fc4..fd5903f 100644 --- a/labs/specification_v5.json +++ b/labs/specification_v5.json @@ -39,12 +39,13 @@ "release": 0,//release date "note": [],//additional notes to append to the page "perm": false,//is this page permanent? It will be preloaded first - "anim8": false//is this page animated? Only works with gif and video(not implemented) + "anim8": false,//is this page animated? Only works with gif and video(not implemented) + "absolute": false//Are the urls absolute paths? } ], "chapters": [//Array of chapters, pages will be grouped into these chapters, false if child(has a parent) { - "parent": -1,// + "parent": -1,//The parent chapter of this chapter, -1 if no parent "description": "",//chapter description "start": -1,//index of starting page of chapter, set to -1 if no start page "end": -1,//index of last page of chapter, set to -1 if no end page