Treat the "h" extension as a C++ file
[geany-mirror.git] / tests / ctags / no_terminator.js
blobff1593df5b87142580cd259148b2610503ae29da
1 function ts_resortTable(lnk) {\r
2     if (span.getAttribute("sortdir") == 'down') {\r
3         span.setAttribute('sortdir','up');\r
4     } else {\r
5         span.setAttribute('sortdir','down');\r
6     }\r
7 }\r
8 function getParent(el, pTagName) {\r
9         if (el == null) return null;\r
10         else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase())        // Gecko bug, supposed to be uppercase\r
11                 return el;\r
12         else\r
13                 return getParent(el.parentNode, pTagName);\r
14 }\r
15 function ts_sort_currency(a,b) { \r
16     aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');\r
17     bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');\r
18     return parseFloat(aa) - parseFloat(bb);\r
19 }\r
20 function checkForUpdate() {\r
21     if( 1==1 ) {\r
22         document.write("hello from checkForUpdate<br>")\r
23     }\r
24     return 1;\r
25 }\r
26 function checkForUpdate2() {\r
27     if( 1==1 ) {\r
28         document.write("hello from checkForUpdate<br>");\r
29     }\r
30     return 2;\r
31 }\r