bestiejs/benchmark.js — comment on commit 5f6b74089bd0cee1c797bb1a5d49d411926a00a7
File:  line 0
By unscriptable:

This looks good! My brain wants it to be like this though:

define('benchmark', ['./platform'], function(platform) {
Benchmark.platform = platform;
return Benchmark;
});

Note the relative path to platform. However, DON"T DO THIS. In general, this won't work for top-level modules (it actually might work under certain circumstances in some loaders, I hear). Relative paths should be reserved for modules within packages or sub-packages.

In short: what you have is good. :)