Skip to content

Commit 86426b4

Browse files
committed
Add println and printf to LogTracer
1 parent 47c0e92 commit 86426b4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"name": "algorithm-visualizer",
3-
"version": "2.1.6",
3+
"version": "2.2.0",
44
"description": "Visualization Library for JavaScript",
5+
"keywords": [
6+
"algorithm",
7+
"data-structure",
8+
"visualization",
9+
"animation"
10+
],
511
"main": "dist/tracers.js",
612
"scripts": {
713
"build": "node ./node_modules/webpack/bin/webpack --bail --progress --config webpack.config.js",

src/LogTracer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ class LogTracer extends Tracer {
44
constructor(title) {
55
super(title);
66

7-
this.register('LogTracer', 'set', 'reset', 'delay', 'print');
7+
this.register('LogTracer', 'set', 'reset', 'delay', 'print', 'println', 'printf');
88
}
99
}
1010

11-
export default LogTracer;
11+
export default LogTracer;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy