logaan/Comprehensive-Google-Map-Plugin — comment on commit dcf75b2fa21af1b76d79a7db53f8ee93cb16cff0
File: assets/js/cgmp.admin.js line 79
By logaan:

In this function you build the shortcode as a string. I imagine it'd be cleaner to build a javascript object and then serialise it to a string somehow. It separates out the two ideas of building the data into one object and how to represent it.