enonic / cms2xp

Enonic CMS to XP migration tool
0 stars 0 forks source link

Add original datasource as a JS-comment in each controller #11

Closed Bellfalasch closed 7 years ago

Bellfalasch commented 7 years ago

Since we already create controllers for each generated part and page in cms2xp, it would help a developer a lot if that controller had the CMS datasource as a comment. Since the developer needs to refer to the original datasource anyway, just adding it as a / comment / in the JS would save them minutes for each datasource. They could then look at this while writing the corresponding JS query.