runegan / jsxbin

Convert jsx ExtendScript files into jsxbin files using ExtendScript Toolkit
MIT License
88 stars 21 forks source link

string with triple quote """ error #24

Closed msongz closed 3 years ago

msongz commented 3 years ago

hi if string with triple quote like : var x = """string""" after jsxbin this file will cause problem any idea ?

runegan commented 3 years ago

Does that work when it is not jsxbin? I don't think it is valid js.

msongz commented 3 years ago

@runegan when in jsx, it works fine

runegan commented 3 years ago

Could you test this with this? https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug that is the official way to create jsxbin from adobe.

msongz commented 3 years ago

@runegan my fault, just find the triple quote """ string with new line could not be transcode to jsxbin with .toString() or .toSource()