Skip to content

Commit bbb733f

Browse files
belaolsonNIHjfrank-nih
authored andcommitted
(#138) Remove SearchProperty handlebars helper
* Removed unused SearchProperty handlebars helper Closes #138
1 parent e4a338a commit bbb733f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

site/src/js/library/digitalworkplace.custom.js

-11
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ import { latestMediaWidget_helper } from './modules/LatestMediaWidget.js';
44
import { newsDetailWidget_helper } from './modules/NewsDetailWidget.js';
55
import { peopleDirectoryWidget_helper } from './modules/PeopleDirectoryWidget.js';
66

7-
// Is this used?
8-
Handlebars.registerHelper(
9-
'SearchProperty',
10-
function (itemCells, prop, options) {
11-
for (var i = 0; i < itemCells.length; i++)
12-
if (prop.toLowerCase() == itemCells[i].Name.toLowerCase())
13-
return itemCells[i].Value;
14-
return '';
15-
}
16-
);
17-
187
// Remove in future
198
// window.NCIAddDebuggerBreak = function (arg1, arg2, arg3, arg4, arg5) {
209
// debugger;

0 commit comments

Comments
 (0)