osm: Wie Code Fragment übersichtlich darstellen

Beitrag lesen

Ergebnis mit XMLTools- und JSTools-Plugins in Notepad++:

< script type = "text/javascript" src = "//widget.mango-office.com/js/c-t-w.min.js" / >

 < div class = "m-call-tracking-widget" data - settings = '{"id":55}' /  >
 < script type = "application/javascript" > !function (t, e) {
for (var i = document.getElementsByClassName(t), n = 0; n < i.length; n++) {
	var r = i[n];
	if ("true" != r.getAttribute("init")) {
		var a = new MCTWidget({
				host: e,
				elem: r
			});
		a.initWidget(),
		r.setAttribute("init", "true")
	}
}

} ("m-call-tracking-widget", window.location.protocol + "//widget.mango-office.com"); < / script >