Permalink
Browse files

Updated: Changing the formatting that DataTables uses for the version…

… numbers to be compatible with semver (http://semver.org/). The impact is minimal (unless you are parsing the version for the final part in dev builds). The change is to use a dash ('-') at the end of the version string for a non-release build, rather than a dot.
  • Loading branch information...
1 parent e7e0fb8 commit ec0556b4f6172fd888979b2c40fccc06c919b5f3 @DataTables committed Oct 28, 2012
Showing with 9 additions and 9 deletions.
  1. +4 −4 media/js/jquery.dataTables.js
  2. +4 −4 media/src/DataTables.js
  3. +1 −1 package.json
@@ -1,7 +1,7 @@
/**
* @summary DataTables
* @description Paginate, search and sort HTML tables
- * @version 1.10.0.dev
+ * @version 1.10.0-dev
* @file jquery.dataTables.js
* @author Allan Jardine (www.sprymedia.co.uk)
* @contact www.sprymedia.co.uk/contact
@@ -6892,13 +6892,13 @@
/**
* Version string for plug-ins to check compatibility. Allowed format is
- * a.b.c.d.e where: a:int, b:int, c:int, d:string(dev|beta), e:int. d and
- * e are optional
+ * `a.b.c-d` where: a:int, b:int, c:int, d:string(dev|beta|alpha). `d` is used
+ * only for non-release builds. See http://semver.org/ for more information.
* @member
* @type string
* @default Version number
*/
- DataTable.version = "1.10.0.dev";
+ DataTable.version = "1.10.0-dev";
/**
* Private data store, containing all of the settings objects that are created for the
@@ -1,7 +1,7 @@
/**
* @summary DataTables
* @description Paginate, search and sort HTML tables
- * @version 1.10.0.dev
+ * @version 1.10.0-dev
* @file jquery.dataTables.js
* @author Allan Jardine (www.sprymedia.co.uk)
* @contact www.sprymedia.co.uk/contact
@@ -112,13 +112,13 @@
/**
* Version string for plug-ins to check compatibility. Allowed format is
- * a.b.c.d.e where: a:int, b:int, c:int, d:string(dev|beta), e:int. d and
- * e are optional
+ * `a.b.c-d` where: a:int, b:int, c:int, d:string(dev|beta|alpha). `d` is used
+ * only for non-release builds. See http://semver.org/ for more information.
* @member
* @type string
* @default Version number
*/
- DataTable.version = "1.10.0.dev";
+ DataTable.version = "1.10.0-dev";
/**
* Private data store, containing all of the settings objects that are created for the
View
@@ -1,6 +1,6 @@
{
"name": "DataTables",
- "version": "1.10.0.dev",
+ "version": "1.10.0-dev",
"title": "DataTables",
"author": {
"name": "Allan Jardine",

0 comments on commit ec0556b

Please sign in to comment.