abetomo
null+****@clear*****
Thu Sep 7 13:36:20 JST 2017
abetomo 2017-09-07 13:36:20 +0900 (Thu, 07 Sep 2017) New Revision: 2e826f4e8f83ebbffc8e76ab61e20242af635c23 https://github.com/nroonga/nroonga/commit/2e826f4e8f83ebbffc8e76ab61e20242af635c23 Merged a7bab8a: Merge pull request #16 from abetomo/use_standard Message: Follow JavaScript Standard Style Modified files: examples/test.js Modified: examples/test.js (+5 -5) =================================================================== --- examples/test.js 2017-09-07 13:28:30 +0900 (ac62ee3) +++ examples/test.js 2017-09-07 13:36:20 +0900 (45522b5) @@ -1,7 +1,7 @@ -nroonga = require('../lib/nroonga') +const nroonga = require('../lib/nroonga') -db = new nroonga.Database() +const db = new nroonga.Database() -db.command('status', function(error, data) { - console.log(data); -}); +db.command('status', (_, data) => { + console.log(data) +}) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170907/b4a0d024/attachment-0001.htm