Project

General

Profile

« Previous | Next » 

Revision 792fbe18

Added by koszko about 2 years ago

Facilitate installation of scripts from the repository

This commit includes:

  • removal of page_info_server
  • running of storage client in popup context
  • extraction of some common CSS to a separate file
  • extraction of scripts import view to a separate file
  • addition of a facility to conveniently clone complex structures from DOM (in DOM_helpers.js)
  • addition of hydrilla repo url to default settings
  • other minor changes and of course changes related to the actual installation of scripts from the repo

View differences:

common/sanitize_JSON.js
37 37
    let _default = undefined;
38 38

  
39 39
    if (!Array.isArray(schema) || schema[1] === "matchentry" ||
40
	schema.length < 2 || !["ordefault", "or"].includes(schema))
40
	schema.length < 2 || !["ordefault", "or"].includes(schema[1]))
41 41
	return sanitize_unknown_no_alternatives(schema, item);
42 42

  
43 43
    if ((schema.length & 1) !== 1) {

Also available in: Unified diff