Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

system.files

krisdb2009 edited this page Mar 27, 2017 · 3 revisions

Details

The system.files object is loaded at startup from the wfs.json file.

This object contains the file structure of the entire repository.
This object does not contain file contents. Only names of files and directories.

The wfs.json file must be re-generated after any file scheme change. To regenerate wfs.json, Please use a script similar to wfs.php

Example

var explorerFolder = system.files.webdows.resources.explorer;

console.log(explorerFolder);


//Console Output

Object {
    0: "1.ogg",               //File
    1: "1.png",               //File
    2: "1.woff",              //File
    3: "10.png",              //File
    4: "2.png",               //File
    5: "4.png",               //File
    6: "6.png",               //File
    7: "7.png",               //File
    8: "8.png",               //File
    9: "9.png",               //File
    10: "animation.js",       //File
    11: "explorer.css",       //File
    basic: Array[2],          //Folder
    belowaverage: Array[4],   //Folder
    classic: Array[8],        //Folder
    webdows: Array[13]        //Folder
}


Webdows Documentation Wiki

system Object

explorer Object

Clone this wiki locally