<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: some suggestions from JSLint to jqGrid 3.8 beta</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19690</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19690</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>I have do a lot of improvents and fixes.</p>
<p>Will publish it later this day.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 11 Sep 2010 12:19:45 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19672</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19672</guid>
        	        	<description><![CDATA[<p>You welcome!</p>
<p>Everybody should have sometime vacation and a little time for his family.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 10 Sep 2010 20:38:00 +0300</pubDate>
        </item>
        <item>
        	<title>tony on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19667</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19667</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>Thank you very much for all what you do.</p>
<p>We will correct these.</p>
<p>Thanks again</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 10 Sep 2010 19:21:28 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19659</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19659</guid>
        	        	<description><![CDATA[<p>Hi Tony!</p>
<p>One more remark. The functions at the end of jquery.fmatter.js (isValue, isNull, isNumber, isString, isEmpty, isUndefined, isObject, isFunction) are defined as <strong>global</strong> and without any namespace! Is it what you want? Moreover $.isFunction use another implementation of isFunction: return toString.call(obj) === "[object Function]"; Is the way probably more safe?</p>
<p>Where more this global functions are used. One place is line 8 of grid.grouping.js. Where more?</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 10 Sep 2010 15:57:58 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19518</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19518</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I wish you have a good time and much pleasure in the vacation.</p>
<p>Best&#160;wishes</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Fri, 03 Sep 2010 12:29:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19512</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19512</guid>
        	        	<description><![CDATA[<p>Oleg,</p>
<p>Thanks. As usual very good fixes and recommendations.</p>
<p>I wil fix these when I&#39;m back from the vacantion.</p>
</p>
<p>Kind Regards</p>
<p>tony</p>
]]></description>
        	        	<pubDate>Fri, 03 Sep 2010 09:49:49 +0300</pubDate>
        </item>
        <item>
        	<title>sho on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19486</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19486</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I just found a bug that appears when grouping option is enabled and my search does not return any result.</p>
<p>grid.base.js line 1255:</p>
<p><a class="errorSource a11yFocus " target="_blank">$(ts).jqGrid(&#39;groupingRender&#39;,grpdata,F.length+gi+si+ni);&#160;</a></p>
<p>&#62;&#62; F is undefined</p>
</p>
<p>Cheers,</p>
<p>Sylvestre.</p>
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 16:43:15 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on some suggestions from JSLint to jqGrid 3.8 beta</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19410</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/some-suggestions-from-jslint-to-jqgrid-3-8-beta#p19410</guid>
        	        	<description><![CDATA[<p>Hello Tony!</p>
<p>I verified current sources from <a href="http://github.com/tonytomov/jqGrid/tree/dev" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....d/tree/dev</a> with respect of <a href="http://www.jslint.com/" target="_blank">JSLint</a>. Here are the results:</p>
<p><span style="text-decoration: underline;">grid.grouping.js:</span></p>
<p>Line 226: &#8222;return <strong>v=</strong>v+1;&#8220; should be replaced to return v+1;</p>
<p>Lines 17,38,125,153: Missing semicolon</p>
<p>Line 138: Unused variable <strong>hs</strong>.</p>
<p>Line 88: Missing radix parameter in the parseInt() function.</p>
<p>In the line 8 are used isObject() function which is not defined here. It is defined in the line 543 of jquery.fmatter.js.</p>
<p><span style="text-decoration: underline;">grid.common.js:</span></p>
<p>In lines 235, 244 one should add &#39;{&#39; &#8230; &#39;}&#39; after if-statement</p>
<p><span style="text-decoration: underline;">j</span><span style="text-decoration: underline;">query.fmatter.js:</span></p>
<p>In the lines 500-503 are defined debug() function which are not used.</p>
<p>At the line 102 would be better to replace dateFormat["i18n"] to the dateFormat.i18n</p>
<p>Unescaped &#39;-&#39; are used in the lines 90,91,112,113.</p>
<p><span style="text-decoration: underline;">grid.custom.js:</span></p>
<p>switch-statemant from the line 263 will be recommended to replace with the if-statement.</p>
<p><span style="text-decoration: underline;">grid.base.js:</span></p>
<p>at line 1309 are use <strong>cmtypes=grtypes=[]</strong> inside a var declaration. If should be probably replaced to the <strong>cmtypes=[], grtypes=[]</strong>.</p>
<p>Unescaped &#39;-&#39; are used in the lines 70, 71.</p>
<p>Missing semicolon are found at the lines 1154,2365,2546.</p>
<p>The Object <strong>grpdata</strong> defined in the line 1017 are used in 1092, 1093. It is defined in the scope of if block defined in the line 1014 and closed in the line 1089.</p>
<p>Exactly in the same way the variable <strong>rn</strong> defined in the line 1015 are used in 1107. It is defined in the scoup of if block defined in the line 1014 and closed in the line 1089.</p>
<p>Because the scope of the variable in JavaScript is function and not block it is not real error, but it is not nice to do this.</p>
<p>Unused variable: <strong>ft</strong> defined in the line 67 and <strong>sortype</strong> defined in the line 1309</p>
<p><span style="text-decoration: underline;">grid.formedit.js:</span></p>
<p>Lines 88-91 should be better reformated to have &#39;,&#39; as the last character at the line and not the first one.</p>
<p><strong>The line 246 should be probably started with "var " or &#39;</strong>;<strong>&#39; on the previous line should be replaced to &#39;,&#39;.</strong></p>
<p>Missing semicolon at the lines 1025,1035,1036,1490,1491</p>
<p>Indexed usage of properties in the lines 1027,1029,1035,1482,1484,1490 (like ajaxOptions[&#39;url&#39;]) should be better written in dot notation.</p>
<p>Variable <strong>searchable</strong> are defined in the line 133 will not be used (see line 135 defines another one which hide the variable defined in the line 133)</p>
<p>Variable <strong>copydata</strong> defined and assigned in the line 339 (see line 332) are never used. Function postIt() define and use another local <strong>copydata</strong> variable.</p>
<p>Variables <strong>gurl</strong> and <strong>ret</strong> defined in the line 320 will be never used.</p>
<p>Variable <strong>valref</strong> will be defined twice in the lines 421 and 1103 and will be never used.</p>
<p>Variable <strong>dummy</strong> defined in the line 882 will be never used.</p>
<p>Variable <strong>flr</strong> defined in the line 1099 will be never used.</p>
<p>Variables <strong>tdl</strong> and <strong>tde</strong> defined in the line 1226 will be never used.</p>
<p>Variable <strong>opt</strong> defined in the line 1272 will be never used.</p>
<p><span style="text-decoration: underline;">grid.setcolumns.js:</span></p>
<p>Missing semicolon at the line 60.</p>
<p>In the line 91 one should add &#39;{&#39; &#8230; &#39;}&#39; after if-statement</p>
<p><span style="text-decoration: underline;">grid.subgrid.js:</span></p>
<p>Unused variable <strong>res</strong> declered in the line 79 and variable <strong>cur</strong> declered in the line 129.</p>
<p><span style="text-decoration: underline;">grid.treegrid.js:</span></p>
<p>Missing semicolon at the lines 178, 375, 406.</p>
<p>Unused variable <strong>nm</strong> declered in the line 461.</p>
</p>
<p>Every file from the <span style="text-decoration: underline;">i18n</span> directory has the same old small syntax problem &#8211; missing semicolon after the return statement inside of the definition of the function <strong>$.jgridformatter.date.S</strong>.</p>
<p>For example, <span style="text-decoration: underline;">grid.locale-en.js</span></p>
<p>has in the line 103 <strong>return</strong> statment without &#39;;&#39; </p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Mon, 30 Aug 2010 15:02:27 +0300</pubDate>
        </item>
</channel>
</rss>