Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scheduling for JavaScript, V2.0 (Read 1277 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 687
Joined: Apr 6th, 2003
Scheduling for JavaScript, V2.0
Jan 5th, 2022 at 9:47am
Print Post  
We have released version 2.0 of MindFusion Scheduling library for JavaScript. It contains the following new features and improvements:

ES6 modules
JsScheduler distribution now includes a set of ES6 modules, in Scripts/esm folder, that lets you import the classes from respective scripts. The distribution still includes ES5-compatible scripts located in Scripts/umd folder, which are transpiled from current ES6 code, and whose classes are exposed as members of global MindFusion namespace object as in previous versions.

Localization improvements
Date and time localization of the Calendar can now be done via the CLDR locale data JSON distributions, instead of writing the "date" object in the localization file. You can continue using the localization files for string localization. For more information see the Localization topic.

API changes
  • JsScheduler source code has been refactored and is now dependent on the following MindFusion shared libraries: drawing, controls, common, and common.collections.
  • The distribution includes ES5-compatible scripts located in Scripts/umd folder, whose classes are exposed as members of global MindFusion namespace object.
  • The Scripts/esm folder contains ES6 code that lets you import the classes from respective modules.

Moving to version 2
  • For projects that access MindFusion namespace from the global namespace, check the "Loading UMD namespaced scripts" section in Getting Started guide.
  • For projects that use module loaders, check the various "Loading ... modules" sections in Getting Started guide.
  • For TypeScript projects that access MindFusion namespace from the global namespace, add a reference to the common.d.ts and global.d.ts files.


The latest version can be downloaded here, or from the clients area on our site:

https://mindfusion.eu/JsScheduler.zip

Updated scripts are also available as @mindfusion/scheduling NPM package.

Enjoy!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint