IBM Worklight - 在服务器端包含一个JavaScript库 [英] IBM Worklight - Include a JavaScript library on the server side

查看:83
本文介绍了IBM Worklight - 在服务器端包含一个JavaScript库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IBM Worklight构建移动应用程序。在适配器中,我需要使用由第三方JavaScript文件提供的某些功能。我想知道是否可以在服务器上包含这样的文件?如果没有,有什么替代方案?

I'm building a mobile application using IBM Worklight. In an adapter, I need to use some functionality which is provided by a third party JavaScript file. I want to know if it's possible to include such a file on the server? If not, what is the alternative?

推荐答案

目前无法在适配器代码中包含外部JavaScript库。目前唯一的解决方法是将库代码复制到适配器。

At the moment there is no way to include an external JavaScript library in the Adapter code. Currently the only workaround is to copy the library code to the adapter.

这篇关于IBM Worklight - 在服务器端包含一个JavaScript库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆