From ec0556b4f6172fd888979b2c40fccc06c919b5f3 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sun, 28 Oct 2012 16:39:35 +0000 Subject: [PATCH] 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. --- media/js/jquery.dataTables.js | 8 ++++---- media/src/DataTables.js | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 17aa6285..4c28d7ed 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -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 diff --git a/media/src/DataTables.js b/media/src/DataTables.js index 4cf4c87f..c4db920a 100644 --- a/media/src/DataTables.js +++ b/media/src/DataTables.js @@ -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 diff --git a/package.json b/package.json index 83b4b341..5ea6b61a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DataTables", - "version": "1.10.0.dev", + "version": "1.10.0-dev", "title": "DataTables", "author": { "name": "Allan Jardine",