bp323/3akai-ux — comment on commit 5a322587ef5e3fd96b763bd3a80d6f27652fdcc2
File:  line 0
By nicolaasmatthijs:

@bp323: This is not the right solution. At the top of this file, we see
`define(
[
"jquery",
"config/config_custom",
"sakai/sakai.api.server",
"sakai/sakai.api.groups",
"sakai/sakai.api.util",
"sakai/sakai.api.i18n",
"sakai/sakai.api.user",
"misc/parseuri"
],
function($, sakai_conf, sakai_serv, sakai_groups, sakai_util, sakai_i18n, sakai_l10n, sakai_user) {`

You can see that the define order is different to the function arguments order and sakai_l10n is not defined anywhere. It doesn't look like sakai_l10n is being used, so it can probably be removed from the function header, which should solve the issue and should allow you to revert the changes in the commit. We should never be doing requires in our api modules.