open
nobody
None
Bug
My-Java-Component
2016-10-04
2016-10-04
Yazid
No

Openpaas is fully written in javascript. It is not possible to transform all the code to coffee scripts.
if we re-write the main class of openpaas in coffee , are we able to use both coffee/nodejs code in the same project. are we able to compile and start openpaas correctly ?

Do you have a pure nodejs example of clock?

Thanks,

Discussion

  • Josep Maria Bernabe
    Josep Maria Bernabe
    2016-10-04

    Components can be written in JavaScript. The only restriction for native components is that their code must be a compatible NodeJS module and NodeJS modules are natively written in JavaScript. CoffeeScript or any other language compiled to JavaScript (like TypeScript) are optional.