imscJS icon indicating copy to clipboard operation
imscJS copied to clipboard

Support es6 syntax features part 1

Open BasBastian opened this issue 3 years ago • 1 comments

The next part of changes

Please check https://github.com/sandflow/imscJS/pull/228 first and then advise. Contains the same set of (possibly) breaking changes


  • based on: feature/transpile-babel-to-umd
  • modules remodelled in order to improve readability
  • ES6 classes used for TTML doc elements (node-types directory)
  • removed "vars", replaced with "const" and "let"
  • moved "./names.js" to "./doc-parser/namespaces.js"
  • fixed JSDoc comments (they were not JSDoc, because of spaces and asterisks missing)
  • reordered variable declarations wherever linter pointed out the issue

BasBastian avatar Mar 06 '22 19:03 BasBastian

Might solve https://github.com/sandflow/imscJS/issues/214 and https://github.com/sandflow/imscJS/issues/215

Please check this @palemieux @nigelmegitt

BasBastian avatar Mar 06 '22 19:03 BasBastian

Replaced by #255

palemieux avatar May 01 '24 16:05 palemieux