sort on created date
This commit is contained in:
parent
23896f7ee6
commit
0c1bcb728d
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ module.exports.parseUrl = function(url) {
|
|||
};
|
||||
|
||||
module.exports.lookupId = function(id, type, cc) {
|
||||
if (id.match(/^[a-z]{2}/)) {
|
||||
if (String(id).match(/^[a-z]{2}/)) {
|
||||
cc = id.substr(0,2);
|
||||
id = id.substr(2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue