JSFiddle - React, Tailwind, and code Playground
by Sandeep Gupta
JavaScript
var App = {
init: function () {
this.versionHistorySession.init();
},
// module wise
versionHistorySession: {
init: function () {
this.vhs = App.versionHistorySession;
this.vhs.updateSession();
// this.vhs.repopulateFilter();
},
updateSession: function () {
alert('hahahaha');
this.vhs.repopulateFilter();
},
repopulateFilter: function () {
alert('hahahaha123');
}
}
};
// initialize here on doc ready
$(document).ready(function () {
App.init();
});