MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

git

MMO.git · 6 symboles · générée le 27 Oct 2026

constant

config

git.js:13
MMO.git.config = MMO.git.config || null;
Espace de noms
MMO.git
function

escape

git.js:19
function MMO.git.escape(text)
Espace de noms
MMO.git
text*
retournestring$text, for html: code is shown, never run
function

node

git.js:31

A node, from its tag, its attributes (on* functions become listeners) and its children: nodes, or text -- a string is always a text node, never html (a commit's subject is someone's).

function MMO.git.node(tag, attributes = {}, ...children)
Espace de noms
MMO.git
tagstring
attributes = {}Object
...children...(Node | string | number | null)
retourneHTMLElement
function

t

git.js:49
function MMO.git.t(text)
Espace de noms
MMO.git
textstring
retournestring$text translated, when the page has mmo.client's translations
function

language

git.js:58

Prism's language for a file, from its name.

function MMO.git.language(path)
Espace de noms
MMO.git
path?string
retourne?stringnull: no colours
function

get

asyncgit.js:84

Read DiffController: GET {MMO.git.config.url}/{path}.

async function MMO.git.get(path, query = {}, base = null)
Espace de noms
MMO.git
pathstringe.g. mmo.git/diff.json
query = {}Object<string, *>its query string (null and '' values left out, arrays as key[]=)
base = null?stringDiffController's base url; none: MMO.git.config.url
retournePromise<Object>the answer's data
lèveErrorwith the server's error when it refuses