function registerAction(args, internal) {
    var name = args[0],
        callback = args[1];
    if (!isString(name)) {
        console.warn("VelocityJS: Trying to set 'registerAction' name to an invalid value:", name);
    } else if (!isFunction(callback)) {
        console.warn("VelocityJS: Trying to set 'registerAction' callback to an invalid value:", name, callback);
    } else if (Actions[name] && !propertyIsEnumerable(Actions, name)) {
        console.warn("VelocityJS: Trying to override internal 'registerAction' callback", name);
    } else if (internal === true) {
        defineProperty$1(Actions, name, callback);
    } else {
        Actions[name] = callback;
    }
}
Used to register an action. This should never be called by users
directly, instead it should be called via  an action:<br/>
<code>Velocity("registerAction", "name", VelocityActionFn);</code>