This is a migrated thread and some comments may be shown as answers.

Kendo UI Javascript Source Maps

8 Answers 782 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Richardsonke
Top achievements
Rank 1
Richardsonke asked on 12 Jun 2013, 02:24 PM
Has Telerik considered publishing Javascript Source Map files with their Kendo UI minified files?  These files allow a developer to publish their application using minified files, but have the browser (at least Chrome and Firefox) automatically load and link up with a non-minified version for debugging purposes.  I'm not sure which minifier you use, but Closure supposedly can create them automatically.  Thanks for considering this.

8 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 14 Jun 2013, 03:14 PM
Hi Keith,

Thank you for your idea - I informed our dev team and they will consider including JavaScript Source Map files in next KendoUI releases. 

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Richardsonke
Top achievements
Rank 1
answered on 14 Jun 2013, 04:15 PM
Thanks for passing this on.  I created a UserVoice entry for it if anyone else is interested in this: http://feedback.kendoui.com/forums/127393-kendo-ui-feedback/suggestions/4079335-kendo-ui-javascript-source-maps
0
Rick
Top achievements
Rank 1
answered on 02 Apr 2014, 02:15 PM
This is a dated post and the previous link is now dead... in reading through the license agreement it's apparent that including un-minified source of any kind in distributable software is strictly forbidden.

While I can understand Telerik's position, it places developers in a difficult situation when trying to track down elusive bugs in shipped / shippable software.

Do you have any recommendations?
0
Vladimir Iliev
Telerik team
answered on 04 Apr 2014, 09:15 AM
Hi Rick,

Please note that source maps are already included in latest official release of KendoUI and you can use them to debug the minified scripts. 

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Rick
Top achievements
Rank 1
answered on 07 Apr 2014, 02:35 PM
The latest builds do include source maps... for some reason the archive we downloaded did not include them - this is great news.

I still have a question about including source maps in distributable software, is this permitted? If not, do you have any recommendations for supporting deployed software that uses Kendo UI.
0
Vladimir Iliev
Telerik team
answered on 08 Apr 2014, 07:10 AM
Hi Rick,

You can use the source maps in distributable software as they are not exactly source code. 

Kind Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Augustin
Top achievements
Rank 1
answered on 27 May 2015, 08:43 AM

Hello!

 How could I use source mappings in a browser, e.g. Chrome? I've copied all kendo js files + mappings into scripts folder in my project, js files and mappings are now reachable from the browser. What about source files, where should I put them? Should I copy them also to the project to the same folder? Or I could leave them in an installation/system folder and somehow redirect mappings? How could I now see the line with a breakpoint in Chrome in the source code? I've already looked in the Kendo documentation but I can't find anything related. Thanks for an answer.

0
Vladimir Iliev
Telerik team
answered on 29 May 2015, 06:47 AM
Hello Robert,

Please check the following help article which describes how to enable the source maps in Chrome browser:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Richardsonke
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Richardsonke
Top achievements
Rank 1
Rick
Top achievements
Rank 1
Augustin
Top achievements
Rank 1
Share this question
or