Here is my code:
initHomeFeed: function(options) {
$.get('/feed_items', {}, function(data) {
console.log("Y U NO COME HERE")
console.log("hello");
Feed.feed_items_html = data.feed_items_html_array;
Feed.pseudo_feed_items_html = data.pseudo_feed_items_html_array
console.log(ordered_arr);
}, "json");
console.log("makehtml was called by inithomefeed")
Feed.makeHomeHTML();
"makehtml was called by inithomefeed" is printed to the console, and so are the console logs inside the makeHomeHTML function. However, none of the console logs inside the get function have been displayed. How can I make it so it doesnt skip the get function?