MCPcopy Create free account
hub / github.com/apache/storm / jsError

Function jsError

storm-webapp/src/main/webapp/js/script.js:596–604  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

594}
595
596function jsError(other) {
597 try {
598 other();
599 } catch (err) {
600 getStatic("/templates/json-error-template.html", function(template) {
601 $("#json-response-error").append(Mustache.render($(template).filter("#json-error-template").html(),{error: "JS Error", errorMessage: err}));
602 });
603 }
604}
605
606function getResourceGuaranteeRemainingFormat(type, data) {
607 if (type === 'display' && typeof data === "number") {

Callers 2

show_visualizationFunction · 0.85
setStormUITitleFunction · 0.85

Calls 3

getStaticFunction · 0.85
appendMethod · 0.80
filterMethod · 0.65

Tested by

no test coverage detected