page/client/kalendae.standalone.js
function makeMoment(config) {
        var input = config._i,
            format = config._f;

        if (input === null || input === '') {
            return null;
        }

        if (typeof input === 'string') {
            config._i = input = getLangDefinition().preparse(input);
        }

        if (moment.isMoment(input)) {
            config = extend({}, input);
            config._d = new Date(+input._d);
        } else if (format) {
            if (isArray(format)) {
                makeDateFromStringAndArray(config);
            } else {
                makeDateFromStringAndFormat(config);
            }
        } else {
            makeDateFromInput(config);
        }

        return new Moment(config);
    }
function makeMoment(config) {
        var input = config._i,
            format = config._f;

        if (input === null || input === '') {
            return null;
        }

        if (typeof input === 'string') {
            config._i = input = getLangDefinition().preparse(input);
        }

        if (moment.isMoment(input)) {
            config = extend({}, input);
            config._d = new Date(+input._d);
        } else if (format) {
            if (isArray(format)) {
                makeDateFromStringAndArray(config);
            } else {
                makeDateFromStringAndFormat(config);
            }
        } else {
            makeDateFromInput(config);
        }

        return new Moment(config);
    }
function makeMoment ( config ) { var input = config . _i , format = config . _f ; if ( input === null || input === '' ) { return null ; } if ( typeof input === 'string' ) { config . _i = input = getLangDefinition ( ) . preparse ( input ) ; } if ( moment . isMoment ( input ) ) { config = extend ( { } , input ) ; config . _d = new Date ( + input . _d ) ; } else if ( format ) { if ( isArray ( format ) ) { makeDateFromStringAndArray ( config ) ; } else { makeDateFromStringAndFormat ( config ) ; } } else { makeDateFromInput ( config ) ; } return new Moment ( config ) ; }
**********************************
Top Level Functions
**********************************
********************************** Top Level Functions **********************************