Commit 0ae90ec
module,repl: remove repl require() hack
Remove a hack that was introduced in commit bb6d468 from November 2010.
This is groundwork for a follow-up commit that makes it possible to use
internal modules in lib/repl.js.
PR-URL: #4026
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Conflicts:
lib/module.js1 parent 93afc39 commit 0ae90ecCopy full SHA for 0ae90ec
File tree
Expand file treeCollapse file tree
6 files changed
+56
-49
lines changedOpen diff view settings
Filter options
- lib
- internal
- src
- test/parallel
Expand file treeCollapse file tree
6 files changed
+56
-49
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
+25-1Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
4 | 28 | |
5 | 29 | |
6 | 30 | |
|
Collapse file
+20-45Lines changed: 20 additions & 45 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
274 | 274 | |
275 | 275 | |
276 | 276 | |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | | - |
282 | | - |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | 277 | |
289 | 278 | |
290 | 279 | |
| ||
376 | 365 | |
377 | 366 | |
378 | 367 | |
379 | | - |
380 | 368 | |
381 | 369 | |
382 | 370 | |
383 | | - |
384 | | - |
385 | | - |
386 | | - |
387 | | - |
388 | | - |
389 | | - |
390 | | - |
391 | | - |
392 | | - |
393 | | - |
394 | | - |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | | - |
405 | | - |
406 | | - |
407 | | - |
408 | | - |
409 | | - |
410 | 371 | |
411 | 372 | |
412 | 373 | |
| ||
431 | 392 | |
432 | 393 | |
433 | 394 | |
434 | | - |
435 | | - |
| 395 | + |
| 396 | + |
| 397 | + |
| 398 | + |
| 399 | + |
| 400 | + |
| 401 | + |
| 402 | + |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
| 407 | + |
| 408 | + |
| 409 | + |
| 410 | + |
436 | 411 | |
437 | 412 | |
438 | 413 | |
| ||
498 | 473 | |
499 | 474 | |
500 | 475 | |
501 | | - |
502 | | - |
503 | | - |
504 | | - |
| 476 | + |
| 477 | + |
| 478 | + |
| 479 | + |
505 | 480 | |
506 | 481 | |
507 | 482 | |
|
Collapse file
+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
24 | 25 | |
25 | 26 | |
26 | 27 | |
| ||
29 | 30 | |
30 | 31 | |
31 | 32 | |
| 33 | + |
32 | 34 | |
33 | 35 | |
34 | 36 | |
| ||
508 | 510 | |
509 | 511 | |
510 | 512 | |
| 513 | + |
| 514 | + |
511 | 515 | |
512 | 516 | |
513 | 517 | |
| ||
647 | 651 | |
648 | 652 | |
649 | 653 | |
650 | | - |
| 654 | + |
651 | 655 | |
652 | 656 | |
653 | 657 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
142 | 142 | |
143 | 143 | |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | |
147 | 147 | |
148 | 148 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
278 | 278 | |
279 | 279 | |
280 | 280 | |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
281 | 285 | |
282 | 286 | |
283 | 287 | |
|
0 commit comments