1. 01 Mar, 2015 1 commit
    • Removal of option hashed based success and error callbacks · 900589fb
      This change removes the object hash success/error callbacks in
      favor of node style callbacks. This includes README and test
      updates, including the removal of two tests that are now
      obsolete.
      
      This also updates the CLI code pathway to use the node style
      callback.
      
      BREAKING API CHANGE
      This removes the success/error option keys as ways to register
      callbacks into node-sass. Instead, a function should be passed as
      the second parameter for the asyncronous `render` call. It takes
      a standard node signature of `error, callback`.
      Jakob Heuser authored
  2. 28 Feb, 2015 13 commits
  3. 27 Feb, 2015 2 commits
  4. 25 Feb, 2015 2 commits
  5. 24 Feb, 2015 3 commits
    • Standardizes Readme to Spaces · a84fcea4
      While updating the readme, there was inconsistency between tabs and spaces
      this makes it all-spaces, which is in alignment with the JS standards for
      the project. (Plus, mixing the two is some horrible form of evil)
      Jakob Heuser authored
    • 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
    • Merge pull request #701 from am11/master · 43dbafb8
      CLI: Retires stdout option
      Adeel Mujahid authored
  6. 23 Feb, 2015 2 commits
  7. 22 Feb, 2015 1 commit
  8. 20 Feb, 2015 1 commit
  9. 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
  10. 15 Feb, 2015 6 commits
  11. 12 Feb, 2015 8 commits