skip to Main Content

Liquid/Shopify: how I add jQuery to the page?

I'm having an hard time integrating external jQuery library into my own liquid page. I'd like to load it with the CDN. On the theme.liquid page I load the Javascript this way: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> {{ 'spot-the-ball.js' | asset_url | script_tag…

VIEW QUESTION

Pass variable to callback – nodejs – Facebook api

I'm creating a simple Messenger bot, using unofficial Facebook Chat API (https://github.com/Schmavery/facebook-chat-api) and Node.js. For now, I'm working on sending messages to specific users, on a specific time. Here's part of my code: if(msgdate.getTime() <= currdate.getTime()){ console.log(alarms[i].message); // output: test…

VIEW QUESTION
Back To Top
Search