UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

71 lines (61 loc) 2.34 kB
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="text/css"> .highlight { display: block; background-color: #ddd; } </style> <script type="text/javascript"> function highlight() { document.getElementById(location.hash.replace(/#/, "")).className = "highlight"; } </script> </head> <body onload="prettyPrint(); highlight();"> <pre class="prettyprint lang-js">/* Siesta 5.6.1 Copyright(c) 2009-2022 Bryntum AB https://bryntum.com/contact https://bryntum.com/products/siesta/license */ Ext.define(&#39;Siesta.Project.Browser.UI.AboutWindow&#39;, { extend : &#39;Ext.Window&#39;, id : &#39;aboutwindow&#39;, bodyPadding : 20, modal : true, width : 500, height : 380, closeAction : &#39;destroy&#39;, bodyStyle : &#39;background: #fff&#39;, autoScroll : true, initComponent : function() { this.title = Siesta.Resource(&#39;Siesta.Project.Browser.UI.AboutWindow&#39;, &#39;titleText&#39;).replace(&#39;{VERSION}&#39;, Siesta.meta.VERSION || &#39;1.0.0&#39;); this.html = Siesta.Resource(&#39;Siesta.Project.Browser.UI.AboutWindow&#39;, &#39;bodyText&#39;); this.buttons = { padding : &#39;10 13&#39;, style : &#39;background: transparent&#39;, items : [ { hidden : Siesta.Project.Browser.isStandardPackage(), text : Siesta.Resource(&#39;Siesta.Project.Browser.UI.AboutWindow&#39;, &#39;upgradeText&#39;), handler : function () { window.open(&#39;https://bryntum.com/store/siesta&#39;); } }, { text : Siesta.Resource(&#39;Siesta.Project.Browser.UI.AboutWindow&#39;, &#39;closeText&#39;), handler : function () { this.up(&#39;window&#39;).close(); } } ] }; this.callParent(arguments); } }); </pre> </body> </html>