在mobilefirst中包含服务器端的JavaScript库 [英] include JavaScript library on the server side in mobilefirst
问题描述
现在可以在MobileFirst中的HttpAdapter代码中包含一个外部JavaScript库。如果没有,有什么替代方案?
is it possible now, include an external JavaScript library in the HttpAdapter code in MobileFirst. If not, what is the alternative?
我见过这类问题,但那是旧版本的旧版本而且不可能.. IBM Worklight - 在服务器端包含一个JavaScript库
I have seen this type of questions,but that was worklight older version and impossible .. IBM Worklight - Include a JavaScript library on the server side
MobileFirst:版本7.1.0.00-20151114-1616
MobileFirst: version 7.1.0.00-20151114-1616
谢谢
推荐答案
在适配器中包含外部JS 文件是不可能的。您可以做的是在现有的* -impl.js文件中包含JS 源。
It is not possible to include external JS files in adapters. What you can do, is to include the JS source in the existing *-impl.js file.
这篇关于在mobilefirst中包含服务器端的JavaScript库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!