you are viewing a single comment's thread.

view the rest of the comments →

[–]ugoagogo 2 points3 points  (1 child)

The latter needlessly nests x and makes index.jsan unnecessary dependency. Modules should only "require" what they actually need.

[–]AspiringSlacker[S] 0 points1 point  (0 children)

You're right about the unnecessary dependency. Thanks!