3 ms·
Seen this pattern many times before. One of those 'en' strings is the current user's language being written into the source, the other is hardcoded. If your ser
by DCoder 13y ago
Seen this pattern many times before. One of those 'en' strings is the current user's language being written into the source, the other is hardcoded. If your server-side templating engine is impotent and only supports variable interpolation without conditionals, this approach is easier than pulling the right JS snippet from somewhere else.