I will take a look and provide you with a small app in a .lpk that shows how to use this.
I will take a look and provide you with a small app in a .lpk that shows how to use this.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
I have looked into this and discovered that Lianja.evaluate() when running in desktop mode did not handle libraries such as my lib::myfunc(). I have fixed this.
It does however work when when used in an actual web app. So the issue was only in dev mode when libraries were used.
It will be in 4.1.2 which should be made available sometime next week.
I have modified the example_jsrpc example app to make a remote javascript function call and a remote Lianja function call where the function is contained in a library.
Last edited by barrymavin; 2018-04-28 at 00:20.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thanks, look forward to the example.
In the interest of not having a "dangling" question left floating out there in the great bit bucket...this issue is resolved! The Javascript call is working fine in 4.1.2 beta and I am certain this will not be an issue in 4.1.2, when released. I used Lianja.evaluate() instead of the exports.conf so I could test the fix. Watch out for liana.evaluate() as my Mac refuses to recognize it. I would assume because JS is case sensitive. I will always use capital "L" in Lianja.evaluate. Thanks to Barry & CO. for the quick response, I am the tardy one on reporting back here with the results!
Bookmarks