1. 24 Feb, 2015 1 commit
    • Adding a backwards compatible node-style callback · 69a45603
      This is node-style callbacks for #676. This allows us to release
      the new callback style without introducing backwards incompatible
      changes (or making changes to the binary from 2.0.1). If a node style
      callback is provided, it will be used. For now, this stacks with
      the original `options.success` and `options.error`, although it can
      be trivially changed to an xor.
      
      To highlight the new interface, a separate `describe` was added to the
      tests which identifies the `{options}, cb` interface and tests it
      independently.
      Jakob Heuser authored
  2. 23 Feb, 2015 1 commit
  3. 22 Feb, 2015 1 commit
  4. 20 Feb, 2015 1 commit
  5. 19 Feb, 2015 1 commit
    • Render options in callbacks as this.options · 2aebbd1c
      This patch and tests introduces a context for all callbacks currently
      in node-sass. Right now, they run w/ an ambiguous context, making the
      `this` keyword not helpful to importer developers (and eventually
      custom function developers). This creates a context object, adds the
      render options to said context object, and then uses that context for
      importer, success, and error callbacks via `this.options`.
      
      By using a context instead of just `.call(options...)` there is a hook
      for later should we find additional environmental information is
      valuable to importer / custom function developers such as the node
      environment, node-sass version, etc.
      Jakob Heuser authored
  6. 15 Feb, 2015 6 commits
  7. 12 Feb, 2015 9 commits
  8. 11 Feb, 2015 8 commits
  9. 10 Feb, 2015 5 commits
  10. 07 Feb, 2015 2 commits
  11. 06 Feb, 2015 1 commit
  12. 05 Feb, 2015 4 commits