engine/dev-utils/utils

Api-module icon module

Functions

  • Chevron-right icon

    convertMapToStringifiedObject( map ) → string
    internal

    Helper function, converts a map to the {"key1":"value1","key2":"value2"} format.

    Parameters

    map : Iterable<tuple>

    Map to convert.

    Returns

    string

    Converted map.

  • Chevron-right icon

    convertMapToTags( map ) → string
    internal

    Helper function, converts a map to the 'key1="value1" key2="value1"' format.

    Parameters

    map : Iterable<tuple>

    Map to convert.

    Returns

    string

    Converted map.

  • Chevron-right icon

    dumpTrees( document, version ) → void
    internal

    Helper function that stores the document state for a given version.

    Parameters

    document : any
    version : any

    Returns

    void
  • Chevron-right icon

    initDocumentDumping( document ) → void
    internal

    Helper function that initializes document dumping.

    Parameters

    document : any

    Returns

    void
  • Chevron-right icon

    logDocument( document, version ) → void
    internal

    Helper function that logs document for the given version.

    Parameters

    document : any
    version : any

    Returns

    void