6 Replies Latest reply on Dec 3, 2011 6:17 AM by SeanMcCormack

    Using require() in Web-Engine Plug-in


      Wanted to require function to include a ser of functions in my web-engine plugin

      I added require 'myfunctions' to manifest.lrweb but i get an error that

      module 'myfunctions' not found:

         no field package.preload['myfunctions']

         no file './myfunctions.lua'

         no file '/usr.local.share........


      But in my web plugin Lightroom/Web Galleries/mygallery.lrwebengine there is a file called myfunctions.lua


      Is this where it should go, can't seem to find any documentaion on require with web-engine plug-in