Select to view content in your preferred language

arcgis js api 4.0 beta3

3145
4
12-23-2015 01:21 AM
huangyuqing
Deactivated User

arcgis js api 4.0 beta3这里面建议都是用模块化引入,不建议使用相对路径

比如:define(["./declare","./accessorSupport/Properties"],

应该使用define(["esri/core/declare","esri/core/accessorSupport/Properties"],

English Translation:

arcgis js api 4.0 beta3 inside this proposal is the introduction of modular, does not recommend the use of a relative path
For example: define (["./ declare", "./ accessorSupport / Properties"],
Should define (["esri / core / declare", "esri / core / accessorSupport / Properties"],

Message was edited by: Robert Scheitlin, GISP to add English translation

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

是一個問題,或者你只是提出建議給開發團隊?

English Translation:

Is this is a problem, or you are just suggestions to the development team?

0 Kudos
huangyuqing
Deactivated User

也是提出建议给开发团队,也是寻求怎么解决这个问题。我在nodejs中使用,使用grunt-contrib-requirejs compile进行文件压缩,里面都是相对路径,无法进行。

English translation:

Also suggestions to the development team, but also to seek how to solve this problem.

I use nodejs using grunt-contrib-requirejs compile File compression, which is a relative path, can not proceed.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Huang,

这不是我的专业领域,所以我说的英文翻译,以帮助您得到回应。

This is not my area of expertise so I added the English translation to help you get a response.

0 Kudos
huangyuqing
Deactivated User

Thanks a lot! I forget that the topics are in english.

0 Kudos