Created
April 22, 2011 12:47
-
-
Save smeghead/936592 to your computer and use it in GitHub Desktop.
ircに接続するためには、読み込む順番が関係あるらしい
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- plugins/pluginManager.js.org 2011-04-22 20:45:09.691124038 +0800 | |
+++ plugins/pluginManager.js 2011-04-22 20:43:23.690968561 +0800 | |
@@ -39,6 +39,7 @@ | |
{ | |
var files=fs.readdirSync('./plugins/core'); | |
var self=this; | |
+ files.sort(); //sort filenames to read. | |
_.each(files,function(file){ | |
if(self.isFile(fs.realpathSync('./plugins/core/'+file))) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment