slideshowbob icon indicating copy to clipboard operation
slideshowbob copied to clipboard

Customize slideshow direction

Open grayghostvisuals opened this issue 12 years ago • 4 comments

Declare the slide direction via a variable or some sort of a @mixin :\ not sure yet. I'll see what I can come up with. 50/50 shot.

grayghostvisuals avatar Jun 28 '13 00:06 grayghostvisuals

What the hell am I doing wrong? I have all the settings correct for Source map support in the browser :\

grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/slideshowbob on feature/slideshow-direction*
$ grunt watch
Running "watch" task
Waiting...OK
>> File "sass/_variables.scss" changed.
Running "sass:main" (sass) task
Syntax error: Error generating source map: couldn't determine public URL for the source stylesheet.
                No filename is available so there's nothing for the source map to link to.
        on line  of standard input
  Use --trace for backtrace.
Warning: Syntax error: Error generating source map: couldn't determine public URL for the source stylesheet.
                No filename is available so there's nothing for the source map to link to.
        on line  of standard input
  Use --trace for backtrace. Use --force to continue.

Aborted due to warnings.

grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/slideshowbob on feature/slideshow-direction*
$ sass --version
Sass 3.3.0.alpha.195 (Bleeding Edge)

grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/slideshowbob on feature/slideshow-direction*
$ rvm list

rvm rubies

   ruby-1.9.3-p392 [ x86_64 ]
 * ruby-2.0.0-p0 [ x86_64 ]
=> ruby-2.0.0-p195 [ x86_64 ]

# => - current
# =* - current && default
#  * - default


grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/slideshowbob on feature/slideshow-direction*
$ grunt -version
grunt-cli v0.1.9
grunt v0.4.1

grayghostvisuals avatar Jun 28 '13 01:06 grayghostvisuals

Ok so I'm using Sass 3.3.0.alpha.141 (Bleeding Edge).

Installed using gem install sass -v 3.3.0.alpha.141 --pre I still get the error above so I have to change the gruntfile to be false for source maps to actually compile atm.

grayghostvisuals avatar Jun 28 '13 02:06 grayghostvisuals

Try running this command instead.

sass --watch --scss --sourcemap sass/slideshowbob.scss:dist/slideshowbob.css

ryanseddon avatar Jun 28 '13 04:06 ryanseddon

Only problem was the rb-fsevent gem, but running what you posted works now. No Grunt watch task though.

grayghostvisuals ✭ GrayGhostVisualsMacBookAir.local  ~/Sites/slideshowbob on feature/slide-direction*
$ sass --watch --scss --sourcemap sass/slideshowbob.scss:dist/slideshowbob.css
>>> Sass is watching for changes. Press Ctrl-C to stop.
[Listen warning]:
  Missing dependency 'rb-fsevent' (version '~> 0.9')!
  Please run the following to satisfy the dependency:
    gem install --version '~> 0.9' rb-fsevent

  For a better performance, it's recommended that you satisfy the missing dependency.
  Listen will be polling changes. Learn more at https://github.com/guard/listen#polling-fallback.

grayghostvisuals avatar Jun 28 '13 12:06 grayghostvisuals