fool jshint
This commit is contained in:
parent
c1acce17cc
commit
1f263c57fd
|
@ -5,9 +5,11 @@
|
||||||
|
|
||||||
var oldI18nlookup = I18n.lookup;
|
var oldI18nlookup = I18n.lookup;
|
||||||
I18n.lookup = function() {
|
I18n.lookup = function() {
|
||||||
arguments[0] = "js." + arguments[0];
|
// jshint doesn't like when we change the arguments directly...
|
||||||
return oldI18nlookup.apply(this, arguments);
|
var args = arguments;
|
||||||
}
|
if (args.length > 0) { args[0] = "js." + args[0]; }
|
||||||
|
return oldI18nlookup.apply(this, args);
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Look up a translation for an i18n key in our dictionary.
|
Look up a translation for an i18n key in our dictionary.
|
||||||
|
|
Loading…
Reference in New Issue