在mobilefirst中包含服务器端的JavaScript库 [英] include JavaScript library on the server side in mobilefirst

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

问题描述

现在可以在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屋!

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