2016-02-26 72 views

回答

1

CDN (内容传送网络)是接受文件或使用文件引用作为脚本的src的方法之一。一些流行的网络是:

  1. https://cdnjs.com/libraries/globalize
  2. http://www.asp.net/ajax/cdn#Globalize_Releases_on_the_CDN_12
  3. http://www.jsdelivr.com/projects/globalize

CDN. Just choose your choice of library from here.


把这个库如果您已经安装了,那么你可以使用的NodeJS在全局/本地加载该模块。使用这个命令:

npm install globalize //<----this command will install this file locally 
npm install globalize -g // -g flag will install it globally in the installed node modules. 
+0

怎么样在这个例子中使用的globalize.culture.de-DE.js(在我的例子中是FR-FR)? – Carly