Kouhei Sutou
null+****@clear*****
Tue Aug 14 18:11:09 JST 2012
Kouhei Sutou 2012-08-14 18:11:09 +0900 (Tue, 14 Aug 2012) New Revision: 805c7daa38d1cdce85dbab20cedc0115ebdddaf2 https://github.com/groonga/gcs/commit/805c7daa38d1cdce85dbab20cedc0115ebdddaf2 Log: Fix indent level Modified files: lib/database/domain.js Modified: lib/database/domain.js (+8 -7) =================================================================== --- lib/database/domain.js 2012-08-14 18:07:54 +0900 (4d79bbf) +++ lib/database/domain.js 2012-08-14 18:11:09 +0900 (b84d38c) @@ -1,3 +1,4 @@ +// -*- indent-tabs-mode: nil; js2-basic-offset: 2 -*- /** * Naming rule of generated tables: * main table: <domain name>_<domain id> @@ -280,18 +281,18 @@ Domain.prototype = { var options = { table: this.synonymsTableName, - key: key, + key: key, output_columns: SYNONYMS_COLUMN }; var getResult; try { - getResult = this.context.commandSync('get', options); + getResult = this.context.commandSync('get', options); } catch (error) { - if (/nonexistent key:/.test(error.message)) { - return null; - } else { - throw error; - } + if (/nonexistent key:/.test(error.message)) { + return null; + } else { + throw error; + } } var synonyms = getResult[1][0]; -------------- next part -------------- HTML����������������������������...Download