Changeset 8961
- Timestamp:
- 03/01/08 13:46:16 (6 months ago)
- Files:
-
- spinoffs/pdoc/trunk/CHANGELOG (modified) (1 diff)
- spinoffs/pdoc/trunk/lib/p_doc/generators/html/description.rb (modified) (1 diff)
- spinoffs/pdoc/trunk/test/fixtures/ajax.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
spinoffs/pdoc/trunk/CHANGELOG
r8960 r8961 1 * Modify syntax for specifying language type in description code blocks. [Tobie] 2 1 3 * Update README. [Tobie] 2 4 spinoffs/pdoc/trunk/lib/p_doc/generators/html/description.rb
r8944 r8961 34 34 def content 35 35 l = lines 36 if match = l.first.match(/^ (javascript|css|html):\s*$/)36 if match = l.first.match(/^lang(?:uage)?:\s*(\w+)\s*$/) 37 37 @language = match[1] 38 38 l.shift spinoffs/pdoc/trunk/test/fixtures/ajax.js
r8960 r8961 541 541 * foo.show(); 542 542 * 543 * html:543 * language: html 544 544 * <div id="my_div"></div> 545 545 **/