stylus-source 0.40.2 → 0.40.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8f874dcf3ae714cee83fd71a5f2310da2b9d478
4
- data.tar.gz: ace3efed7b59e5390938174ea410e41996e0fc6f
3
+ metadata.gz: 4031855a1afeb4c2d026da10130d44e380eb3f21
4
+ data.tar.gz: 8ee78f767f6e6ad1c7b9f15b73da1378f29f7f93
5
5
  SHA512:
6
- metadata.gz: 958470a6a39b08c3fe04811816e3caeab5b8f1eba38824feee1b99b225cbb216f1e190e785ac64c1a060a766580b7a766a75612547eb2c4de2fdf3bba1dca135
7
- data.tar.gz: 57b14277425db3b97b7db540fb81f032b8df84ffcae94f62f0372523928350cc9877946cace4cfe85c493e541c67cbce48ea451efc195621f437d1628b49f79e
6
+ metadata.gz: c5917ab948181bb953dc82a33d03db4d7f8eed513f812f6cbb677016d1c567b7316bc65c86002d54561f761d37ffa50045097093c7c3cb43f5301cf2f40deb8a
7
+ data.tar.gz: 10f1e2e64b905ceab8a0e277b24a8a4635ed2e6fd21d89678fb49ebd5979a17715300d9c70c276f81262d46cd194cb7a13ddd42a3917e7ed16f76192209a63e1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.40.2
1
+ 0.40.3
data/vendor/bin/stylus CHANGED
@@ -124,7 +124,7 @@ var usage = [
124
124
  , ''
125
125
  , ' Commands:'
126
126
  , ''
127
- , ' help [<type>:]<prop> Opens help info at MDC for <prop> in'
127
+ , ' help [<type>:]<prop> Opens help info at MDN for <prop> in'
128
128
  , ' your default browser. Optionally'
129
129
  , ' searches other resources of <type>:'
130
130
  , ' safari opera w3c ms caniuse quirksmode'
data/vendor/lib/parser.js CHANGED
@@ -698,7 +698,9 @@ Parser.prototype = {
698
698
  if (this.accept(',')) key = this.id().name;
699
699
  this.expect('in');
700
700
  this.state.push('for');
701
+ this.cond = true;
701
702
  var each = new nodes.Each(val, key, this.expression());
703
+ this.cond = false;
702
704
  each.block = this.block(each, false);
703
705
  this.state.pop();
704
706
  return each;
@@ -578,7 +578,10 @@ Evaluator.prototype.visitProperty = function(prop){
578
578
  // Function of the same name
579
579
  if (call && !literal && !prop.literal) {
580
580
  var args = nodes.Arguments.fromExpression(utils.unwrap(prop.expr));
581
+ prop.name = name;
582
+ this.property = prop;
581
583
  var ret = this.visit(new nodes.Call(name, args));
584
+ delete this.property;
582
585
  return ret;
583
586
  // Regular property
584
587
  } else {
@@ -1043,8 +1046,6 @@ Evaluator.prototype.literalCall = function(call){
1043
1046
 
1044
1047
  Evaluator.prototype.lookupProperty = function(name){
1045
1048
  var i = this.stack.length
1046
- , prop = this.property
1047
- , curr = prop && prop.name
1048
1049
  , index = this.currentBlock.index
1049
1050
  , top = i
1050
1051
  , nodes
@@ -29,5 +29,9 @@
29
29
  "url": "https://github.com/substack/node-mkdirp/issues"
30
30
  },
31
31
  "_id": "mkdirp@0.3.5",
32
- "_from": "mkdirp@0.3.x"
32
+ "dist": {
33
+ "shasum": "3ca8fc91ed924e281236eec99e74505873ac5a45"
34
+ },
35
+ "_from": "mkdirp@0.3.x",
36
+ "_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz"
33
37
  }
@@ -35,5 +35,9 @@
35
35
  "url": "https://github.com/isaacs/minimatch/issues"
36
36
  },
37
37
  "_id": "minimatch@0.2.14",
38
- "_from": "minimatch@~0.2.11"
38
+ "dist": {
39
+ "shasum": "b070e1128a5c8c453cf412786ca4bae5602d069e"
40
+ },
41
+ "_from": "minimatch@~0.2.11",
42
+ "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz"
39
43
  }
@@ -60,9 +60,5 @@
60
60
  "url": "https://github.com/isaacs/sax-js/issues"
61
61
  },
62
62
  "_id": "sax@0.5.8",
63
- "dist": {
64
- "shasum": "c7eabb5527ce2d57739364868aed3e9ca1d36948"
65
- },
66
- "_from": "sax@0.5.x",
67
- "_resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz"
63
+ "_from": "sax@0.5.x"
68
64
  }
data/vendor/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stylus",
3
3
  "description": "Robust, expressive, and feature-rich CSS superset",
4
- "version": "0.40.2",
4
+ "version": "0.40.3",
5
5
  "author": "TJ Holowaychuk <tj@vision-media.ca>",
6
6
  "keywords": [
7
7
  "css",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stylus-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.2
4
+ version: 0.40.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Holowaychuk