null+****@clear*****
null+****@clear*****
2012年 8月 1日 (水) 15:59:58 JST
Kouhei Sutou 2012-08-01 15:59:58 +0900 (Wed, 01 Aug 2012) New Revision: d4112b31fee38ec0f393ddeeeeb007c8406292ee https://github.com/groonga/gcs/commit/d4112b31fee38ec0f393ddeeeeb007c8406292ee Log: Add a missing space before "{" Modified files: lib/database/domain.js Modified: lib/database/domain.js (+2 -2) =================================================================== --- lib/database/domain.js 2012-08-01 15:40:28 +0900 (bbba79d) +++ lib/database/domain.js 2012-08-01 15:59:58 +0900 (8ce373f) @@ -257,7 +257,7 @@ Domain.getNameAndIdFromHost = function(host) { var domainMatcher = /^(?:doc|search)-([^\.]+)-([^\.\-]+)\./; var match = host.match(domainMatcher); if (match) - return{ name: match[1], id: match[2] }; + return { name: match[1], id: match[2] }; return { name: '', id: '' }; }; @@ -267,7 +267,7 @@ Domain.getNameAndIdFromPath = function(path) { var match = path.match(domainMatcher); if (match) - return{ name: match[1], id: match[2] }; + return { name: match[1], id: match[2] }; return { name: '', id: '' }; }; -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Download