title: How can i listen to Prestashop events in custom.js?
body: <p>In the compiled theme.js i can find event listeners like <code>prestashop.on("updatedProduct")</code> and <code>prestashop.on("clickQuickView")</code>.
  More about those <a href="http://developers.prestashop.com/themes/javascript/index.html" rel="nofollow noreferrer">here</a>.</p>
  
  <p>I cannot get the web pack to work, so i would like to just add a listener in the custom.js (i know this is bad practice, i just need a quick solution).</p>
  
  <p>How do i refer to this <code>prestashop</code> in custom.js, so i can listen for an event like <code>updateProductList</code>?</p>