[Pkg-javascript-commits] [less.js] 200/285: change version to beta 1

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 0fa3a9fe9c1265ebb58a4b131665d60a691562f2
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Oct 19 21:12:05 2014 +0100

    change version to beta 1
---
 lib/less-node/plugin-loader.js | 2 +-
 lib/less/index.js              | 2 +-
 package.json                   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/less-node/plugin-loader.js b/lib/less-node/plugin-loader.js
index bef1d22..bacbac0 100644
--- a/lib/less-node/plugin-loader.js
+++ b/lib/less-node/plugin-loader.js
@@ -35,7 +35,7 @@ PluginLoader.prototype.tryLoadPlugin = function(name, argument) {
 PluginLoader.prototype.compareVersion = function(aVersion, bVersion) {
     for(var i = 0; i < aVersion.length; i++) {
         if (aVersion[i] !== bVersion[i]) {
-            return aVersion[i] > bVersion[i] ? -1 : 1;
+            return parseInt(aVersion[i]) > parseInt(bVersion[i]) ? -1 : 1;
         }
     }
     return 0;
diff --git a/lib/less/index.js b/lib/less/index.js
index 43546e0..d530d88 100644
--- a/lib/less/index.js
+++ b/lib/less/index.js
@@ -2,7 +2,7 @@ module.exports = function(environment, fileManagers) {
     var SourceMapOutput, SourceMapBuilder, ParseTree, ImportManager, Environment;
 
     var less = {
-        version: [2, 0, 0],
+        version: [2, 0, "0-b1"],
         data: require('./data'),
         tree: require('./tree'),
         Environment: (Environment = require("./environment/environment")),
diff --git a/package.json b/package.json
index 49b9d21..9859ccf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "less",
-  "version": "2.0.0",
+  "version": "2.0.0-b1",
   "description": "Leaner CSS",
   "homepage": "http://lesscss.org",
   "author": {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list