<script>
//my amazing function|
function() {
var x = 0;
doSomething();
}
John,
Here's the feature request created on your behalf: https://feedback.telerik.com/aspnet-mvc/1539496-when-using-a-custom-popup-editor-in-the-grid-double-slash-comments-break-it
I would advise voting for it, as the number of votes is taken into account when planning features for specific releases.
Regards,
Ivan Danchev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello John,
We don't have have a stripping-comments logic implemented for the templates. If you want to you can log this as a feature request, or I can do it on your behalf.
As for how to have comments and still keep your js logic functioning, you can use the following comment syntax:
<script>
/*some comment*/
(function () {
alert(1)
})();
</script>
Regards,
Ivan Danchev
Progress Telerik