Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named arguments #8

Merged
16 commits merged into from
Oct 5, 2010
Merged

Named arguments #8

16 commits merged into from
Oct 5, 2010

Conversation

chriseppstein
Copy link

This branch adds named argument calling conventions to mixins and functions.

This allows ruby functions to be called with keyword arguments.
* master: (23 commits)
  [Sass] Proper fix for sassGH-275 that doesn't break other tests. Closes sassGH-281.
  Revert "Disable rubyforge releasing until we get a project set up."
  Disable rubyforge releasing until we get a project set up.
  Watch for updates on port 3124.
  [Sass] Support --unix-newlines on Unix.
  [Sass] Properly detect SCSS with -c.
  Fix a typo.
  Clean up a few tests.
  Track the original filename of a sass file even within imports.
  We don't need to assume anything about cached root nodes anymore.
  Propagate Util.dump and Util.load through to child nodes and importers.
  [Emacs] Allow indentation beneath for loops.
  [Sass] Make color names csae-insensitive.
  [Sass] Add a changelog entry about aab0567.
  [Sass] Add an #invert function.
  [Sass] Clean up a little.
  Fix bug in compressed output of SCSS selectors with newlines.
  [Sass] Get rid of Compiler#forbid_update?.
  Allow objects that are not sass trees to be placed into the sass cache.
  Fixed one last reference to Sass::Files.
  ...

Conflicts:
	test/sass/scss/scss_test.rb
* master: (23 commits)
  Fixed ruby 1.9.2 compatibility
  Bump VERSION to 3.0.21.
  Really fix the permissions errors.
  [Sass] Fix more #options bugs.
  Don't use Shellwords.shellescape.
  Revert "Set options on operands during Operation#perform."
  Bump VERSION to 3.0.20.
  [Sass] Make sure CSS function results get #options set.
  As part of packaging, fix up some permissions that can apparently go screwy.
  Set options on operands during Operation#perform.
  Bump VERSION to 3.0.19.
  [Sass] Remove spaces after commas in `:compressed` mode.
  [Haml] Fix interpolated if statements with HTML-escaping.
  [Haml] Fix engine_test for Ruby 1.8.
  [Haml] Properly dump encoded strings for the precompiled template.
  [Haml] Fix up a few more of the encoding assertions.
  [Haml] Fix an exception-swallowing bug.
  [Haml] Make encoding tests make a little more sense.
  [Haml] Fix encoding tests under Ruby 1.9.1.
  [Haml] Clean up the encoding tests.
  ...

Conflicts:
	lib/sass/script/funcall.rb
	test/sass/engine_test.rb
@nex3
Copy link
Contributor

nex3 commented Oct 4, 2010

I've started working on some modifications on my keyword-args branch. They aren't finished yet, though.

@bcoughlan
Copy link

Did this feature ever make it in?

@nex3
Copy link
Contributor

nex3 commented Aug 30, 2011

Yes. It's been in there since 3.1.0.

@bcoughlan
Copy link

Apologies, just saw it in the docs.

@lepe lepe mentioned this pull request Oct 31, 2016
3 tasks
nex3 added a commit that referenced this pull request Apr 5, 2019
nex3 added a commit that referenced this pull request May 17, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants