Package not found. Please check the package name and try again.

less-js-source 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "less-js-source"
6
- s.version = '1.1.2'
6
+ s.version = '1.1.3'
7
7
  s.authors = ["Alexis Sellier"]
8
8
  s.email = ["alexis@cloudhead.io"]
9
9
  s.homepage = "http://lesscss.org"
@@ -1,5 +1,5 @@
1
1
  //
2
- // LESS - Leaner CSS v1.1.2
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 (! $(/^opacity=/i)) return;
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 () { return this }
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
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-25 00:00:00 -04:00
18
+ date: 2011-05-27 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21