stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

broken in stylus 0.46 #266

Closed notslang closed 9 years ago

notslang commented 10 years ago

Tested on 0.46 and [not working] with linear-gradient mixins (mentioned by @contra in #247)

jescalan commented 9 years ago

Is it still broken in 0.49.0?

notslang commented 9 years ago

yep :cry:

cycold commented 9 years ago

It's still broken in 0.49.3 background: linear-gradient(20px top, white, black)

ericky@ERICKY-PC /f/web/web_gits/stylus/test
$ stylus -V
0.49.3

ericky@ERICKY-PC /f/web/web_gits/stylus/test
$ stylus <test.styl> nib-test.css

c:\Users\ericky\AppData\Roaming\npm\node_modules\stylus\bin\stylus:575
      if (err) throw err;
                     ^
ParseError: node_modules/nib/lib/nib.js:14:100
   10|
   11| var stylus = require('stylus'),
   12|     path = require('path'),
   13|     nodes = stylus.nodes,
   14|     utils = stylus.utils,
----------------------------------------------------------------------------
------^
cycold commented 9 years ago

Sorry! I'm a novice... I should add --use parameter stylus <test-nib.styl> nib-test.css --use ./node_modules/nib/lib/nib It's good work in 0.49.3