GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — added tracer titles · Womol/AlgorithmVisualizer@2a6e0d0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • algorithm/string/knuth_morris_pratt/substring_search
    • data.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎algorithm/string/knuth_morris_pratt/substring_search/data.js‎

Copy file name to clipboardExpand all lines: algorithm/string/knuth_morris_pratt/substring_search/data.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ var string = randString (15), substring = randString (5);
1010
var track = Array.apply (null, Array (substring.length)).map (Number.prototype.valueOf, 0);
1111

1212
var logger = new LogTracer ();
13-
var trackTracer = new Array1DTracer (),
14-
substrTracer = new Array1DTracer (),
15-
stringTracer = new Array1DTracer ();
13+
var trackTracer = new Array1DTracer ('Tracker'),
14+
substrTracer = new Array1DTracer ('Substring'),
15+
stringTracer = new Array1DTracer ('Major String');
1616

1717

1818
trackTracer._setData (track);
1919
substrTracer._setData (substring);
20-
stringTracer._setData (string);
20+
stringTracer._setData (string);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.