Files

347 B
Raw Permalink Blame History

Ae.js — commandKey() (satır 171)

← Ae.js · ← Master

function commandKey(raw)
{
    var s = normalize(raw);

    while (s.charAt(0) === "/" || s.charAt(0) === "!")
    {
        s = trim(s.substring(1));
    }

    s = s.replace(/[!?.]+$/g, "");
    return trim(s);
}