google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Create RhinoTypeScriptProcessor. #654

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a processor which would use rhino to compile TypeScript into javascript. 
The similar approach is done in typescript4j project: 
https://github.com/martypitt/typescript4j

The purpose is to make TypescriptProcessor cross platform, meaning that it will 
detect node support if will use the node version of TypeScript (should be 
renamed to NodeTypeScriptProcessor), otherwise the RhinoTypeScriptProcessor 
will be used.

Original issue reported on code.google.com by alex.obj...@gmail.com on 17 Jan 2013 at 1:13

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.6.x
Created new processors with the following aliases:
nodeTypeScript - uses node.js exclusively to compile TypeScript
rhinoTypeScript - uses rhino exclusively to compile TypeScript (cross platform)
typeScript - uses node.js if support is detected, otherwise uses rhino as a 
fallback processor.

Original comment by alex.obj...@gmail.com on 21 Jan 2013 at 5:13