• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

wiki style document editor


Commit MetaInfo

Révision11625a6e6b48a236c26ef3102286b2c9a23c2075 (tree)
l'heure2014-09-01 21:15:22
AuteurHiromichi Matsushima <hylom@Hiro...>
CommiterHiromichi Matsushima

Message de Log

export: rename 'chapter' pragma to 'chapterNumber'

Change Summary

Modification

--- a/tools/export/toc-parser.js
+++ b/tools/export/toc-parser.js
@@ -50,8 +50,8 @@ parser.parseToc = function parseToc(text) {
5050 }
5151 }
5252
53- //chapterプラグマ
54- var match = text.match(/^#@chapter:\s*(\d+)\s*$/);
53+ //chapterNumberプラグマ
54+ var match = text.match(/^#@chapterNumber:\s*(\d+)\s*$/);
5555 if (match) {
5656 var chapter = Number(match[1]);
5757 if (!isNaN(chapter)) {