Added \Michelf\Markdown\MARKDOWNLIB_VERSION in replacement of previous version constants bound to the masters and extra branches.

This commit is contained in:
Michel Fortin 2013-01-28 08:00:51 -05:00
parent 06cb8f2487
commit a10d489199
2 changed files with 6 additions and 11 deletions

View file

@ -13,14 +13,13 @@
namespace Michelf;
#
# The following constants are deprecated: avoid using them, they'll disappear
# soon.
# The following two constants are deprecated: avoid using them, they'll
# disappear when the Lib branch becomes the only one to be updated.
#
# You can get the parser's version using the constant inside of the parser
# class: \Michelf\Markdown::MARKDOWN_VERSION.
# class: \Michelf\Markdown::MARKDOWNLIB_VERSION.
#
const MARKDOWNLIB_VERSION = "1.3-beta4"; # Mon 21 Jan 2013
const MARKDOWN_VERSION = "1.0.1p"; # Sun 13 Jan 2013
const MARKDOWNEXTRA_VERSION = "1.2.6"; # Sun 13 Jan 2013
@ -33,7 +32,7 @@ class Markdown {
### Version ###
const MARKDOWN_VERSION = \Michelf\MARKDOWN_VERSION;
const MARKDOWNLIB_VERSION = "1.3-beta4";
### Simple Function Interface ###

View file

@ -3,7 +3,7 @@
# Markdown Extra - A text-to-HTML conversion tool for web writers
#
# PHP Markdown Extra
# Copyright (c) 2004-2012 Michel Fortin
# Copyright (c) 2004-2013 Michel Fortin
# <http://michelf.com/projects/php-markdown/>
#
# Original Markdown
@ -15,7 +15,7 @@ namespace Michelf;
# Just force Michelf/Markdown.php to load. This is needed to load
# the temporary implementation class. See below for details.
\Michelf\Markdown::MARKDOWN_VERSION;
\Michelf\Markdown::MARKDOWNLIB_VERSION;
#
# Markdown Extra Parser Class
@ -29,10 +29,6 @@ namespace Michelf;
class MarkdownExtra extends \Michelf\_MarkdownExtra_TmpImpl {
### Version ###
const MARKDOWNEXTRA_VERSION = \Michelf\MARKDOWNEXTRA_VERSION;
### Parser Implementation ###
# Temporarily, the implemenation is in the _MarkdownExtra_TmpImpl class.