Explore the community Forums Lectora Online Lectora Online Questions & Answers Help with the function of .js files

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #403812 Score: 0
    Profile photo of Shawn McCulley
    Shawn McCulley
    Member
    beginner
    intermediate
    friend finder
    curious george
    picture perfect
    wise owl
    contributor
    @smcculley1282

    Hi all.

    For one of our projects, we have to fill out a JavaScript usage form for security purposes. On this form we need to describe the function of the JavaScripts. There are two that I am not 100% sure what there function is and I hoping someone in the forum who is more of a Javascript expert than I am could provide a short description of their function. The files are the trivantis-utils.js and the trivantis-wndobj.js. Any help would be much appreciated.

    Thanks.

    Shawn

    #403830 Score: 0
    Profile photo of Math Notermans
    Math Notermans
    Member
    contributor
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    LUC16 Attendee
    LUC16
    wise owl
    curious george
    118 pts
    @mnotermans5114

    Hi Shawn, quite a lot of functionality in those. Alas tough readable because they are minified. Only Trivantis developers can help you with more specific information im afraid.

    #403908 Score: 1
    Profile photo of Robert Aung-Naing
    Robert Aung-Naing
    Member
    beginner
    intermediate
    friend finder
    profile
    wise owl
    contributor
    12 pts
    @raungnaing

    Hi Shawn,

    When you publish a title, there are a number of javascript files that go into the published content, two of them of course are trivantis-utils.js and trivantis-wndobj.js. All those javascript files provide the basic and vital functionality of the published title.

    Basically trivantis-utils.js contains, as the name implies, utility functions to manipulate DOM elements, read browser imformation, manipulate strings, etc.

    trivantis-wndobj.js contains code that renders objects onto the browser screen, such as text block, image, video, audio. It also handles actions such as move, resize, show, hide.

    Hope this helps,

    Robert.

    This post has received 1 vote up.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.