{"size": 2634, "ext": "js", "max_stars_repo_path": "cloze_builder/resources/configs.js", "max_stars_repo_name": "ccmjs/akless-components", "max_stars_repo_stars_event_min_datetime": "2018-06-18T09:34:34.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-29T10:22:45.000Z", "max_issues_repo_path": "cloze_builder/resources/configs.js", "max_issues_repo_name": "ccmjs/akless-components", "max_issues_repo_issues_event_min_datetime": "2019-01-25T15:55:58.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-23T10:00:54.000Z", "max_forks_repo_path": "cloze_builder/resources/configs.js", "max_forks_repo_name": "ccmjs/akless-components", "max_forks_repo_forks_event_min_datetime": "2018-10-25T05:50:06.000Z", "max_forks_repo_forks_event_max_datetime": "2019-12-21T15:22:04.000Z"}
{"max_stars_count": 2, "max_issues_count": 7, "max_forks_count": 4, "avg_line_length": 28.9450549451, "max_line_length": 120, "alphanum_fraction": 0.4669703872}
/**
 *----------------------------------------------------- DEPRECATED -----------------------------------------------------
 *
 * @overview configurations of ccm component for building a fill-in-the-blank text
 * @author André Kless <andre.kless@web.de> 2017-2018
 * @license The MIT License (MIT)
 */

ccm.files[ 'configs.js' ] = {

  "local": {
    "key": "local",
    "css": [ "ccm.load",
      "../libs/bootstrap/css/bootstrap.css",
      { "context": "head", "url": "../libs/bootstrap/css/font-face.css" },
      "../cloze_builder/resources/default.css"
    ],
    "data": {
      "store": [ "ccm.store", "../cloze_builder/resources/datasets.js" ],
      "key": "test"
    },
    "editor.2.editor": [ "ccm.load",
      [
        [
          "../libs/highlight/darcula.min.css",
          "../libs/highlight/highlight.min.js"
        ],
        [
          "../libs/quill/quill.min.js",
          "../libs/quill/quill.snow.css"
        ]
      ]
    ],
    "target": [ "ccm.component", "../cloze/ccm.cloze.js" ],
    "logger": [ "ccm.instance", "../log/ccm.log.js", [ "ccm.get", "../log/resources/configs.js", "greedy" ] ],
    "onchange": function () { console.log( this.index, 'onchange', this.getValue() ) },
    "onfinish": { "log": true }
  },

  "localhost": {
    "key": "localhost",
    "css": [ "ccm.load",
      "../libs/bootstrap/css/bootstrap.css",
      { "context": "head", "url": "../libs/bootstrap/css/font-face.css" },
      "../cloze_builder/resources/default.css"
    ],
    "data": {
      "store": [ "ccm.store", { "name": "cloze", "url": "http://localhost:8080" } ],
      "key": "test"
    },
    "editor.2.editor": [ "ccm.load",
      [
        [
          "../libs/highlight/darcula.min.css",
          "../libs/highlight/highlight.min.js"
        ],
        [
          "../libs/quill/quill.min.js",
          "../libs/quill/quill.snow.css"
        ]
      ]
    ],
    "target": [ "ccm.component", "../cloze/ccm.cloze.js" ],
    "logger": [ "ccm.instance", "../log/ccm.log.js", [ "ccm.get", "../log/resources/configs.js", "greedy" ] ],
    "onfinish": {
      "log": true,
      "store": {
        "settings": { "name": "cloze", "url": "http://localhost:8080" },
        "key": "test"
      },
      "alert": "Saved!"
    }
  },

  "demo": {
    "key": "demo",
    "data": {
      "store": [ "ccm.store", { "name": "cloze", "url": "https://ccm2.inf.h-brs.de" } ],
      "key": "demo"
    },
    "submit_button": "Submit",
    "onfinish": {
      "store": {
        "settings": { "name": "cloze", "url": "https://ccm2.inf.h-brs.de" },
        "key": "demo"
      },
      "alert": "Saved!"
    }
  }

};