equinox-web-components
Version:
Equinox design for the web using StencilJS
1 lines • 397 B
JavaScript
System.register([],(function(t){"use strict";return{execute:function(){var n=t("g",(function(t){if(t){return t.split(" ").length>=2?t.match(/\b(\w)/g).join(""):t.substr(0,2)}else{return""}}));var r=t("d",(function(t,n){if(n===void 0){n="unknown"}try{t=t.split(""").join('"');return JSON.parse(t)}catch(r){console.log(t,r);alert("Error while trying to parse JSON in "+n+" component")}}))}}}));