Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
review. adding support for simple locale like [en] instead of just [e…
Browse files Browse the repository at this point in the history
…n-US]
  • Loading branch information
caridy committed Oct 12, 2012
1 parent dc674e2 commit 000013f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app/middleware/mojito-combo-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var libfs = require('fs'),

REGEX_LANG_TOKEN = /\"\{langToken\}\"/g,
REGEX_LANG_PATH = /\{langPath\}/g,
REGEX_LOCALE = /\_([a-z]{2}-[A-Z]{2})$/,
REGEX_LOCALE = /\_([a-z]{2}(-[A-Z]{2})?)$/,

DEFAULT_HEADERS = {
'.js': {
Expand Down

0 comments on commit 000013f

Please sign in to comment.