Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
d2e5b23c
Commit
d2e5b23c
authored
Sep 07, 2012
by
Aaron Leung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better arg checking and error messages for the opacity functions.
parent
482615e0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
context.cpp
context.cpp
+3
-3
functions.cpp
functions.cpp
+0
-0
functions.hpp
functions.hpp
+9
-3
No files found.
context.cpp
View file @
d2e5b23c
...
...
@@ -124,11 +124,11 @@ namespace Sass {
register_function
(
invert_sig
,
invert
);
// Opacity Functions
register_function
(
alpha_sig
,
alpha
);
register_function
(
opacity_sig
,
alpha
);
register_function
(
opacity_sig
,
opacity
);
register_function
(
opacify_sig
,
opacify
);
register_function
(
fade_in_sig
,
opacify
);
register_function
(
fade_in_sig
,
fade_in
);
register_function
(
transparentize_sig
,
transparentize
);
register_function
(
fade_out_sig
,
transparentize
);
register_function
(
fade_out_sig
,
fade_out
);
// String Functions
register_function
(
unquote_sig
,
unquote
);
register_function
(
quote_sig
,
quote
);
...
...
functions.cpp
View file @
d2e5b23c
This diff is collapsed.
Click to expand it.
functions.hpp
View file @
d2e5b23c
...
...
@@ -122,17 +122,23 @@ namespace Sass {
// Opacity Functions ///////////////////////////////////////////////////
extern
Signature
alpha_sig
;
extern
Signature
opacity_sig
;
Node
alpha
(
const
Node
,
Environment
&
,
Node_Factory
&
);
extern
Signature
opacity_sig
;
Node
opacity
(
const
Node
,
Environment
&
,
Node_Factory
&
);
extern
Signature
opacify_sig
;
extern
Signature
fade_in_sig
;
Node
opacify
(
const
Node
,
Environment
&
,
Node_Factory
&
);
extern
Signature
fade_in_sig
;
Node
fade_in
(
const
Node
,
Environment
&
,
Node_Factory
&
);
extern
Signature
transparentize_sig
;
extern
Signature
fade_out_sig
;
Node
transparentize
(
const
Node
,
Environment
&
,
Node_Factory
&
);
extern
Signature
fade_out_sig
;
Node
fade_out
(
const
Node
,
Environment
&
,
Node_Factory
&
);
// Other Color Functions ///////////////////////////////////////////////
extern
Signature
adjust_color_sig
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment