aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsession-manager.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/session-manager.js b/session-manager.js
index 7d4c39d..98dd20c 100755
--- a/session-manager.js
+++ b/session-manager.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>Session Manager</name>
<name lang="ja">Session Manager</name>
<description>for Session Manager Addon</description>
- <version>1.1.0</version>
+ <version>1.1.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
@@ -163,10 +163,11 @@ let INFO =
return;
}
+ context.compare = void 0;
context.completions = [
[file.leafName.replace(/\.session$/, ''), new Date(file.lastModifiedTime)]
for each ([,file] in io.File(gSessionManager.getSessionDir()).readDirectory())
- ]
+ ].sort(function ([, a], [, b]) (b - a));
}
},
true