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
292e8a5f
Commit
292e8a5f
authored
Oct 26, 2012
by
Gong Hao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
ea2b7c13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
binding.cpp
binding.cpp
+2
-2
No files found.
binding.cpp
View file @
292e8a5f
...
...
@@ -49,13 +49,13 @@ Handle<Value> Render(const Arguments& args) {
String
::
AsciiValue
astr
(
args
[
0
]);
Local
<
Function
>
callback
=
Local
<
Function
>::
Cast
(
args
[
1
]);
String
::
AsciiValue
bstr
(
args
[
2
]);
Integer
*
tint
=
Integer
::
Cast
(
*
args
[
3
]);
ctx
->
source_string
=
new
char
[
strlen
(
*
astr
)
+
1
];
strcpy
(
ctx
->
source_string
,
*
astr
);
ctx
->
options
.
include_paths
=
new
char
[
strlen
(
*
bstr
)
+
1
];
strcpy
(
ctx
->
options
.
include_paths
,
*
bstr
);
ctx
->
options
.
output_style
=
tint
->
Value
();
// ctx->options.output_style = args[3]->Int32Value();
ctx
->
options
.
output_style
=
SASS_STYLE_NESTED
;
ctx
->
callback
=
Persistent
<
Function
>::
New
(
callback
);
ctx
->
request
.
data
=
ctx
;
...
...
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