Permalink
Commits on Feb 28, 2013
  1. Added package.json

    miksago committed Feb 28, 2013
Commits on Jan 31, 2013
  1. Merge pull request #1 from novemberborn/master

    tyom committed Jan 31, 2013
    Workaround for failures in IE
  2. Build

    novemberborn committed Jan 31, 2013
Commits on Aug 25, 2012
Commits on Aug 6, 2012
  1. Increased 'loading' class removal time out.

    Tyom Semonov committed Aug 6, 2012
Commits on Jul 25, 2012
Commits on May 21, 2012
  1. Update livereload.js

    andreyvit committed May 21, 2012
  2. Fix live CSS refresh to work with prefixfree [#185]

    andreyvit committed May 21, 2012
    Prefixfree replaces original <link> with a <style> element, so we need
    to add some special handling for it:
    
    - match style[data-href] against incoming CSS paths
    
    - properly create a replacement <link> when the original is a <style>
    
    - invoke PrefixFree to re-process the updated CSS
    
    StyleFix is a name of a framework that PrefixFree is based on.
  3. Use unload+polling to trigger removal of old <link> [#198]

    andreyvit committed May 21, 2012
    Previously we had a fixed 200ms delay before removing the old
    stylesheet on live CSS refresh.  Problem is that Sprockets asset
    pipeline often takes more time to produce a CSS file, causing a flash
    of unstyled content for Rails developers.
    
    Most browsers have recently started to support onload event for CSS,
    so it makes sense to switch to that, plus polling every 50 ms.
    
    Tested in Safari, Chrome, Firefox and Opera. (Current stable Safari is
    the only major browser that uses polling; Safari 5.2 on 10.8 should
    support onload too.)
Commits on May 20, 2012
  1. Version bump to 2.0.8

    andreyvit committed May 20, 2012
  2. Use readyState to trigger removal of old <link> [#198]

    andreyvit committed May 20, 2012
    Previously we had a fixed 200ms delay before removing the old
    stylesheet on live CSS refresh.  I'm not sure why it has been done
    that way.  Problem is that Sprockets asset pipeline often takes more
    time to produce a CSS file, causing a flash of unstyled content for
    Rails developers.
    
    Waiting until readyState is 'complete' is clearly a superior way to
    detect when the new stylesheet has finished loading, and that's what
    this commit implements.
    
    Tested in Safari, Chrome, Firefox and Opera, and seems that it should
    work in IE too.
Commits on Mar 29, 2012
  1. Version bump to 2.0.7

    andreyvit committed Mar 29, 2012
Commits on Mar 22, 2012
Commits on Feb 13, 2012
  1. Update livereload.js

    andreyvit committed Feb 13, 2012
  2. Remove debug output

    andreyvit committed Feb 13, 2012
  3. Version bump to 2.0.6

    andreyvit committed Feb 13, 2012
Commits on Feb 4, 2012
  1. Update livereload.js

    andreyvit committed Feb 4, 2012
  2. Version bump to 2.0.5

    andreyvit committed Feb 4, 2012
  3. Make logging optional

    andreyvit committed Feb 4, 2012
Commits on Dec 4, 2011
  1. Update livereload.js

    andreyvit committed Dec 4, 2011
  2. Bump version number to 2.0.4

    andreyvit committed Dec 4, 2011
Commits on Nov 26, 2011
  1. Update livereload.js

    andreyvit committed Nov 26, 2011
  2. Bump version to 2.0.3

    andreyvit committed Nov 26, 2011
Commits on Nov 18, 2011
  1. Update livereload.js

    andreyvit committed Nov 18, 2011
  2. Update livereload.js

    andreyvit committed Nov 18, 2011
  3. Typo fix in README

    andreyvit committed Nov 18, 2011