• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

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

修订版11625a6e6b48a236c26ef3102286b2c9a23c2075 (tree)
时间2014-09-01 21:15:22
作者Hiromichi Matsushima <hylom@Hiro...>
CommiterHiromichi Matsushima

Log Message

export: rename 'chapter' pragma to 'chapterNumber'

更改概述

差异

--- 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)) {