I was using sometime ago the deep-insights.uncompressed.js library from cartoDB, but they now included it in the carto product in lib/assets/javascript/deep-insights but I don't know how to use it in my html pages, I've tried to

我之前使用过cartoDB中的deep-insights.uncompressed.js库,但他们现在将它包含在lib / assets / javascript / deep-insight中的carto产品中,但我不知道如何在我的html页面中使用它,我试过

<script src="./deep-insights/index.js"></script>

but it says that 'Uncaught ReferenceError: module is not defined at index.js:1'... Any ideas on how do I use it in my pages?

但是它说'未捕获的ReferenceError:模块没有在index.js中定义:1'......关于如何在我的页面中使用它的任何想法?

EDIT: The Github link

编辑:Github链接

1 个解决方案

#1


0

Disclaimer: I work at CARTO

免责声明:我在CARTO工作

That library was never officially released, nor supported. So I guess has evolved into a dependency for BUILDER and cannot be used outside easily. Instead, I would recommend migrating your code to CARTO.js 4. Soon (weeks) we'll release a visual components library to complement it that will make easy to develop dashboards, even tough it won't be easy as it was with Deep Insights.

该图书馆从未正式发布,也未得到支持。所以我猜想已经发展成为BUILDER的依赖,不能轻易在外面使用。相反,我建议将您的代码迁移到CARTO.js 4.很快(几个星期)我们将发布一个可视化组件库来补充它,这将使开发仪表板变得容易,即使很难实现它也不会像Deep那样容易洞察。

更多相关文章

  1. 执行javascript作为coldfusion页面加载
  2. 如何在页面上获得带有javascript的特定单词的链接
  3. 我可以在JavaScript中从不同的页面传递参数吗?
  4. Ajax的实用技术——用户的注意力从页面的其他区域到转移选择的图
  5. 不断更改页面(例如cookie点击器中的cps)
  6. 切换页面时出现白屏闪烁
  7. 使用CSS,HTML和Javascript在随机图像的页面上进行图像大小调整
  8. 如何在涉及css缩放时获取页面上的点击位置
  9. 如何修复一个页面网站的容器/正文宽度(html,css和js)

随机推荐

  1. jquery done()不能获取外部变量
  2. Fullcalendar:为什么日历在页面上出现两次
  3. jquery-validation-1.13.1 自定义验证正
  4. ECharts + Jquery 做大屏展示
  5. jquery中获取相邻元素相关的命令:next()、
  6. jquery ajax IE8下失效
  7. jquery parent和parents的区别
  8. jquery蔚蓝网总结三个页面
  9. Yii - 加载ajax表单元素的用户端验证
  10. jquery美元。ajax自定义http头问题