less-js-source 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/less-js-source.gemspec +1 -1
- data/lib/less_js/less.js +6 -3
- metadata +4 -4
data/less-js-source.gemspec
CHANGED
data/lib/less_js/less.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
//
|
2
|
-
// LESS - Leaner CSS v1.1.
|
2
|
+
// LESS - Leaner CSS v1.1.3
|
3
3
|
// http://lesscss.org
|
4
4
|
//
|
5
5
|
// Copyright (c) 2009-2011, Alexis Sellier
|
@@ -899,7 +899,7 @@ less.Parser = function Parser(env) {
|
|
899
899
|
alpha: function () {
|
900
900
|
var value;
|
901
901
|
|
902
|
-
if (! $(
|
902
|
+
if (! $(/^\(opacity=/i)) return;
|
903
903
|
if (value = $(/^\d+/) || $(this.entities.variable)) {
|
904
904
|
if (! $(')')) throw new(Error)("missing closing ) for alpha()");
|
905
905
|
return new(tree.Alpha)(value);
|
@@ -1241,7 +1241,10 @@ tree.Alpha.prototype = {
|
|
1241
1241
|
return "alpha(opacity=" +
|
1242
1242
|
(this.value.toCSS ? this.value.toCSS() : this.value) + ")";
|
1243
1243
|
},
|
1244
|
-
eval: function () {
|
1244
|
+
eval: function (env) {
|
1245
|
+
if (this.value.eval) { this.value = this.value.eval(env) }
|
1246
|
+
return this;
|
1247
|
+
}
|
1245
1248
|
};
|
1246
1249
|
|
1247
1250
|
})(require('less/tree'));
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-js-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexis Sellier
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-27 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|