summaryrefslogtreecommitdiff
path: root/lib/repl.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-03-06 18:32:16 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2018-03-11 02:43:27 +0100
commit4893f70d12691208abf8c668d8347240df561f14 (patch)
tree72ac3336742e856c7bc803e8261840a2a0382cbe /lib/repl.js
parent8181c607e5cd96afc041636ceb37ff6758e8d470 (diff)
downloadandroid-node-v8-4893f70d12691208abf8c668d8347240df561f14.tar.gz
android-node-v8-4893f70d12691208abf8c668d8347240df561f14.tar.bz2
android-node-v8-4893f70d12691208abf8c668d8347240df561f14.zip
repl: remove magic mode
The magic mode is long deprecated and works the same as the sloppy mode. Since the sloppy mode is the default, removing the magic mode should be safe. PR-URL: https://github.com/nodejs/node/pull/19187 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Diffstat (limited to 'lib/repl.js')
-rw-r--r--lib/repl.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/repl.js b/lib/repl.js
index 7645988752..3cfa1996d8 100644
--- a/lib/repl.js
+++ b/lib/repl.js
@@ -716,7 +716,6 @@ exports.REPLServer = REPLServer;
exports.REPL_MODE_SLOPPY = Symbol('repl-sloppy');
exports.REPL_MODE_STRICT = Symbol('repl-strict');
-exports.REPL_MODE_MAGIC = exports.REPL_MODE_SLOPPY;
// prompt is a string to print on each line for the prompt,
// source is a stream to use for I/O, defaulting to stdin/stdout.