Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addToIndex, AxLoaderGen
 archiveRequestHandler, AxLoaderGen
 areBuffersEqual, AxLoaderGen
B
 BASE64IFY, AxLoader
 BASE64IFY_FILES_WITH_EXT, AxLoader
C
 checkForUpdates, AxLoader
 clearCached, AxLoader
D
 decodeBase64, AxLoader
 decodeString, AxLoader
 devServer, AxLoaderGen
 diffArchives, AxLoaderGen
E
 encodeBase64, AxLoader
 EVAL_AS_JS, AxLoader
 EXPAND_FOLDERS, AxLoader
F
 fileLoadCallback, AxLoader
 fromBuffers, AxLoader
G
 generate, AxLoaderGen
 getAvalibleFileList, AxLoader
 getAxLoaderInfo, AxLoaderGen
 getBestVersion, AxLoaderGen
 getCached, AxLoader
 getFilename, AxLoaderGen
 getMostAppropriateFile, AxLoader
 getPatchableVersions, AxLoaderGen
 getVersion, AxLoader
I
 isUpdateNeeded, AxLoader
M
 makeArchive, AxLoaderGen
P
 PARSE_AS_JSON, AxLoader
 postProcess, AxLoader
R
 REMOVE_FILE_EXTS, AxLoader
S
 saveArchive, AxLoaderGen
 sendArchive, AxLoaderGen
 setCached, AxLoader
 startLoading, AxLoader
 STRINGIFY, AxLoader
T
 testserver, AxLoaderGen
U
 USE_AS_CSS, AxLoader
W
 WITH_EXT, AxLoader
 WITH_FILE, AxLoader
 WITHOUT, AxLoader
function addToIndex(index,
folder,
patchversion,
version,
filename)
Adds an item to the index object.
function archiveRequestHandler(genconf,
req,
res)
The request handler for generating and serving archives.
function areBuffersEqual(a,
b)
Retruns true of two buffers are equal.
BASE64IFY: function (name,
data,
output)
Decode files into base64strings if they match the passed extionstion.
Decode files into base64strings if they match the passed extionstion.
var checkForUpdates = function (callback)
Passes true to the callback if there are updates.
var clearCached = function (rest)
Removes items from the cache.
function decodeBase64(sBase64,
nBlocksSize)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding
function decodeString (buffer)
Returns a string from a UTF8 encoded arraybuffer.
Starts a server for development.
function diffArchives(a,
b)
Creates a new archive that contains all the files in b that are not in a or have changed since a, and has it’s comment set to metadata the same as that in a except the patchVersion property, which will be the version of a, and the removedFiles property which contains a list of files in a but not in b.
function encodeBase64 (aBytes)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding
EVAL_AS_JS: function (name,
data,
output)
Evaluates a script files in a special way that plays nicely with the debugger.
EXPAND_FOLDERS: function (name,
data,
output)
Expands the folder structure of the files in the archive.
The callback for when a file is extracted out of the archive.
function fromBuffers(cached,
uptodate,
folder,
events,
postTasks)
Gets the archive from the cached buffer and the patch/base buffer.
function generate(c)
Generates the base versions and any patches needed.
function getAvalibleFileList(callback)
Gets a list of the avalible files for download.
function getAxLoaderInfo(folder)
Returns the object that goes into the _axloaderInfo file.
function getBestVersion(versions)
Takes a list of the avalible filenames and returns an integer version number that represents the highest version.
function getCached(folder)
Gets the cached data for a folder.
function getFilename(folder,
patchversion,
version)
function getMostAppropriateFile(folder,
cachedVersion,
callback)
Gets the file that should be downloaded.
function getPatchableVersions(folder,
index)
Returns a list of the avalible base versions for a given folder.
function getVersion(ar)
Takes an archive and returns the version number.
function isUpdateNeeded(filename,
cachedArchive)
Reads the cached version and determines if it is up to date.
function makeArchive(genconf)
Builds a archive based on a configuration.
PARSE_AS_JSON: function (name,
data,
output)
Decode files into strings if they match the passed extionstion.
function postProcess(files,
tasks)
Runs all the functions in the tasks array against all the properties on files.
REMOVE_FILE_EXTS: function (name,
data,
output)
Removes file extentions.
function saveArchive(genconf,
buffer)
Saves a archive file to disk.
function sendArchive(buffer,
res)
Sends the archive file to a response object.
function setCached(folder,
buffer)
Sets the cached data for a folder.
function startLoading(folder,
events,
postTasks)
Begin loading a folder.
STRINGIFY: function (name,
data,
output)
Decode files into strings if they match the passed extionstion.
function testserver(c)
Starts a server for testing patching.
USE_AS_CSS: function (name,
data,
output)
Decode files into strings if they match the passed extionstion.
WITH_EXT: function (ext,
f)
A filter that calls the passed function if the name matches the passed file extention.
WITH_FILE: function (n,
f)
A filter than calls the passed function if the names match.
WITHOUT: function (re,
f)
A filter than calls the passed function if the names don’t match.
Close