rahulkapoor90 / VITacademics-Enhancement-Suite

:sunglasses: Extension to enhance your browsing experience on VIT Academics Student Login.
http://bit.ly/28Pe4ah
GNU Affero General Public License v3.0
22 stars 8 forks source link

How to inject object within attend.js file into the msg.js file which runs in home page. #8

Closed uppusaikiran closed 8 years ago

uppusaikiran commented 8 years ago

Main problem is the when we click the attendance tab the attend.js file gets executed and i have created an object out of all the attendance.Now all i want is to make this object available for the msg.js file which runs on the home page.

Problem is that when a script is running we can use the class inside other js file, here attend.js file is not used still can we use that object?

:hourglass: (Urgent) for next release.

uppusaikiran commented 8 years ago

Object intended to use in the main page for the attendance graph.

{
    "couses": [
        {
            "course": "CSE309",
            "attendance": "63"
        },
        {
            "course": "CSE319",
            "attendance": "59"
        },
        {
            "course": "CSE326",
            "attendance": "87"
        }
    ]
}