Hi,

I have js file like following and I'd like it to be run when page is loaded,
using @Import includes the js file, but not running it, any way to achieve
this? Thanks,

(function(window, $, PhotoSwipe){

    $(document).ready(function(){

      // more code here

    });

}(window, window.jQuery, window.Code.PhotoSwipe));

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-1-load-js-and-execute-it-tp5142295p5142295.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to