| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0a63e2d commit a17d398
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | 39 | # Reset this number to 0 on major V8 upgrades. | |
| 40 | 40 | # Increment by one for each non-official patch applied to deps/v8. | |
| 41 | - 'v8_embedder_string': '-node.14', | ||
| 41 | + 'v8_embedder_string': '-node.15', | ||
| 42 | 42 | ||
| 43 | 43 | ##### V8 defaults for Node.js ##### | |
| 44 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -640,9 +640,7 @@ def emit_config(): | |||
| 640 | 640 | ||
| 641 | 641 | out.write('/* class type information */\n'); | |
| 642 | 642 | consts = []; | |
| 643 | - keys = typeclasses.keys(); | ||
| 644 | - keys.sort(); | ||
| 645 | - for typename in keys: | ||
| 643 | + for typename in sorted(typeclasses): | ||
| 646 | 644 | klass = typeclasses[typename]; | |
| 647 | 645 | consts.append({ | |
| 648 | 646 | 'name': 'type_%s__%s' % (klass, typename), | |
@@ -653,9 +651,7 @@ def emit_config(): | |||
| 653 | 651 | ||
| 654 | 652 | out.write('/* class hierarchy information */\n'); | |
| 655 | 653 | consts = []; | |
| 656 | - keys = klasses.keys(); | ||
| 657 | - keys.sort(); | ||
| 658 | - for klassname in keys: | ||
| 654 | + for klassname in sorted(klasses): | ||
| 659 | 655 | pklass = klasses[klassname]['parent']; | |
| 660 | 656 | bklass = get_base_class(klassname); | |
| 661 | 657 | if (bklass != 'Object'): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments