stylus-source 0.22.4 → 0.22.5
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.
- data/VERSION +1 -1
- data/vendor/History.md +5 -0
- data/vendor/Readme.md +1 -0
- data/vendor/editors/Stylus.tmbundle/Syntaxes/Stylus.tmLanguage +2 -2
- data/vendor/lib/lexer.js +2 -2
- data/vendor/lib/stylus.js +1 -1
- data/vendor/package.json +1 -1
- data/vendor/test/cases/regression.524.css +4 -0
- data/vendor/test/cases/regression.524.styl +7 -0
- data/vendor/testing/index.js +3 -0
- data/vendor/testing/test.styl +6 -0
- metadata +4 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.22.
|
|
1
|
+
0.22.5
|
data/vendor/History.md
CHANGED
data/vendor/Readme.md
CHANGED
|
@@ -104,6 +104,7 @@ form input {
|
|
|
104
104
|
- gedit [language-spec](/LearnBoost/stylus/blob/master/docs/gedit.md)
|
|
105
105
|
- VIM [Syntax](https://github.com/wavded/vim-stylus)
|
|
106
106
|
- [Firebug extension](/LearnBoost/stylus/blob/master/docs/firebug.md)
|
|
107
|
+
- heroku [web service](http://styl.heroku.com) for compiling stylus
|
|
107
108
|
- transparent vendor-specific function expansion
|
|
108
109
|
|
|
109
110
|
### Framework Support
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
<string>constant.numeric.stylus</string>
|
|
209
209
|
</dict>
|
|
210
210
|
<dict>
|
|
211
|
-
<key>match</key> <string
|
|
211
|
+
<key>match</key> <string>(?<=^|\{|;)\s*(azimuth|background-attachment|background-clip|background-color|background-image|background-position|background-repeat|background|box-shadow|box-sizing|border(-collapse|-color|-width|((-bottom|-top)(-left|-right))?-radius|-spacing|-style|-image(-outset|-repeat|-slice|-source|-width)?|(-bottom|-left|-right|-top)(-color|-style|-width)?)?|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-stretch|font-style|font-variant|font-weight|font|height|image-rendering|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|marker-offset|margin|marks|max-height|max-width|min-height|min-width|opacity|orphans|outline-color|outline-style|outline-width|outline|(text-)?overflow(-[xy])?|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|pointer-events|position|quotes|resize|richness|right|size|speak-header|speak-numeral|speak-punctuation|speech-rate|speak|src|stress|table-layout|text-(align|decoration|indent|rendering|shadow|transform)|top|transition|transform|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-(spacing|wrap)|zoom|z-index)</string>
|
|
212
212
|
<key>name</key>
|
|
213
213
|
<string>support.type.property-name.stylus</string>
|
|
214
214
|
</dict>
|
|
215
215
|
<dict>
|
|
216
|
-
<key>match</key> <string>\b(absolute|all(-scroll)?|always|armenian|auto|avoid|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|geometricPrecision|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|optimize(Legibility|Quality|Speed)|outset|outside|overline|pointer|pre(-(wrap|line))?|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|sub|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical(-(ideographic|text))?|visible(Painted|Fill|Stroke)?|w-resize|wait|whitespace|zero|smaller|larger|((xx?-)?(small|large))|painted|fill|stroke)\b</string>
|
|
216
|
+
<key>match</key> <string>\b(absolute|all(-scroll)?|always|armenian|auto|avoid|baseline|below|bidi-override|block|bold|bolder|border-box|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|content-box|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|geometricPrecision|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|optimize(Legibility|Quality|Speed)|outset|outside|overline|padding-box|pointer|pre(-(wrap|line))?|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|sub|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical(-(ideographic|text))?|visible(Painted|Fill|Stroke)?|w-resize|wait|whitespace|zero|smaller|larger|((xx?-)?(small|large))|painted|fill|stroke)\b</string>
|
|
217
217
|
<key>name</key>
|
|
218
218
|
<string>support.constant.property-value.stylus</string>
|
|
219
219
|
</dict>
|
data/vendor/lib/lexer.js
CHANGED
|
@@ -523,12 +523,12 @@ Lexer.prototype = {
|
|
|
523
523
|
},
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
|
-
* -?[
|
|
526
|
+
* -?[_a-zA-Z$] [-\w\d$]* '('
|
|
527
527
|
*/
|
|
528
528
|
|
|
529
529
|
function: function() {
|
|
530
530
|
var captures;
|
|
531
|
-
if (captures = /^(-?[
|
|
531
|
+
if (captures = /^(-?[_a-zA-Z$][-\w\d$]*)\(([ \t]*)/.exec(this.str)) {
|
|
532
532
|
var name = captures[1];
|
|
533
533
|
this.skip(captures);
|
|
534
534
|
this.isURL = 'url' == name;
|
data/vendor/lib/stylus.js
CHANGED
data/vendor/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{ "name": "stylus"
|
|
2
2
|
, "description": "Robust, expressive, and feature-rich CSS superset"
|
|
3
|
-
, "version": "0.22.
|
|
3
|
+
, "version": "0.22.5"
|
|
4
4
|
, "author": "TJ Holowaychuk <tj@vision-media.ca>"
|
|
5
5
|
, "keywords": ["css", "parser", "style", "stylesheets", "jade", "language"]
|
|
6
6
|
, "repository": "git://github.com/learnboost/stylus"
|
data/vendor/testing/index.js
CHANGED
|
@@ -8,9 +8,12 @@ var stylus = require('../')
|
|
|
8
8
|
, path = 'testing/test.styl'
|
|
9
9
|
, str = fs.readFileSync(path, 'utf8');
|
|
10
10
|
|
|
11
|
+
var start = new Date;
|
|
12
|
+
|
|
11
13
|
stylus(str)
|
|
12
14
|
.set('filename', path)
|
|
13
15
|
.render(function(err, css){
|
|
14
16
|
if (err) throw err;
|
|
15
17
|
console.log(css);
|
|
18
|
+
// console.log('%dms', new Date - start);
|
|
16
19
|
});
|
data/vendor/testing/test.styl
CHANGED
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.22.
|
|
4
|
+
version: 0.22.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-01-
|
|
12
|
+
date: 2012-01-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Robust, expressive, and feature-rich CSS superset. This gem packages
|
|
15
15
|
up stylus for use with the stylus gem.
|
|
@@ -606,6 +606,8 @@ files:
|
|
|
606
606
|
- vendor/test/cases/regression.503.styl
|
|
607
607
|
- vendor/test/cases/regression.504.css
|
|
608
608
|
- vendor/test/cases/regression.504.styl
|
|
609
|
+
- vendor/test/cases/regression.524.css
|
|
610
|
+
- vendor/test/cases/regression.524.styl
|
|
609
611
|
- vendor/test/cases/reset.css
|
|
610
612
|
- vendor/test/cases/reset.styl
|
|
611
613
|
- vendor/test/cases/rule.charset.css
|