Skip to content

Commit ff3fc5a

Browse files
committed
minor edits: one comment and one var assignment
git-svn-id: https://share-extras.googlecode.com/svn/trunk/Sandbox/Audit Dashlet@451 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
1 parent 8360918 commit ff3fc5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/web/components/dashlets/audit-application.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
// use unassignable/non-characters unicode codepoints as markers. see unicode.org/charts/PDF/uFFF0.pdf
302302
// These characters have been reserved for in-process usage by the unicode chart, and are guaranteed to not map
303303
// to an actual character, in any alphabet.Therefore they won't need to be escaped throughout the string.
304-
// prespan space :
304+
// prefix : an optional prefix before the span
305305
String.prototype.swapHighlightMarkers = function(prefix)
306306
{
307307
return this.replace(/\uFFFE/g, (prefix ? prefix : "") + "<span class='regex-highlight'>").replace(/\uFFFF/g,"</span>");
@@ -328,7 +328,7 @@
328328
String.prototype.elideHighlightMarkers = function(open_marker_char, close_marker_char)
329329
{
330330
var opened=false; var skip_next_close_stack=[];
331-
var rebuild="";
331+
var rebuild=""; var c ='';
332332

333333
for(var j=0; j< this.length; j++)
334334
{

0 commit comments

Comments
 (0)