UNPKG

siesta-lite

Version:

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

61 lines (52 loc) 1.78 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.Recorder.UI.ActionColumn&#39;, { extend : &#39;Ext.tree.Column&#39;, alias : &#39;widget.recorderactioncolumn&#39;, requires : [ &#39;Siesta.Recorder.UI.Editor.ActionName&#39; ], dataIndex : &#39;action&#39;, width : 100, sortable : false, menuDisabled : true, tdCls : &#39;siesta-recorderpanel-typecolumn&#39;, editor : &#39;typeeditor&#39;, constructor : function () { var R = Siesta.Resource(&#39;Siesta.Recorder.UI.RecorderPanel&#39;); this.text = R.get(&#39;actionColumnHeader&#39;); this.callParent(arguments); }, renderer : function(value, meta, record) { meta.tdCls = &#39; action-level-&#39; + (record.parentNode.data.root ? &#39;0&#39; : &#39;1&#39;); if (record.isLeaf()) { return value; } else { return record.data.name; } } }); </pre> </body> </html>