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
08e12d17
Commit
08e12d17
authored
Aug 24, 2012
by
Dean Mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debugging and merge new libsass
parent
b6bce951
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
binding.cpp
binding.cpp
+0
-5
binding.node
precompiled/darwin-x64/binding.node
+0
-0
No files found.
binding.cpp
View file @
08e12d17
...
@@ -10,7 +10,6 @@ using namespace v8;
...
@@ -10,7 +10,6 @@ using namespace v8;
using
namespace
std
;
using
namespace
std
;
void
WorkOnContext
(
uv_work_t
*
req
)
{
void
WorkOnContext
(
uv_work_t
*
req
)
{
cout
<<
"WorkOnContext"
<<
endl
;
sass_context
*
ctx
=
static_cast
<
sass_context
*>
(
req
->
data
);
sass_context
*
ctx
=
static_cast
<
sass_context
*>
(
req
->
data
);
sass_compile
(
ctx
);
sass_compile
(
ctx
);
}
}
...
@@ -20,8 +19,6 @@ void MakeCallback(uv_work_t* req) {
...
@@ -20,8 +19,6 @@ void MakeCallback(uv_work_t* req) {
TryCatch
try_catch
;
TryCatch
try_catch
;
sass_context
*
ctx
=
static_cast
<
sass_context
*>
(
req
->
data
);
sass_context
*
ctx
=
static_cast
<
sass_context
*>
(
req
->
data
);
cout
<<
"MakeCallback"
<<
endl
;
if
(
ctx
->
error_status
==
0
)
{
if
(
ctx
->
error_status
==
0
)
{
// if no error, do callback(null, result)
// if no error, do callback(null, result)
const
unsigned
argc
=
2
;
const
unsigned
argc
=
2
;
...
@@ -59,8 +56,6 @@ Handle<Value> Render(const Arguments& args) {
...
@@ -59,8 +56,6 @@ Handle<Value> Render(const Arguments& args) {
ctx
->
callback
=
Persistent
<
Function
>::
New
(
callback
);
ctx
->
callback
=
Persistent
<
Function
>::
New
(
callback
);
ctx
->
request
.
data
=
ctx
;
ctx
->
request
.
data
=
ctx
;
cout
<<
"uv_queue_work"
<<
endl
;
int
status
=
uv_queue_work
(
uv_default_loop
(),
&
ctx
->
request
,
WorkOnContext
,
MakeCallback
);
int
status
=
uv_queue_work
(
uv_default_loop
(),
&
ctx
->
request
,
WorkOnContext
,
MakeCallback
);
assert
(
status
==
0
);
assert
(
status
==
0
);
...
...
precompiled/darwin-x64/binding.node
0 → 100755
View file @
08e12d17
This diff was suppressed by a .gitattributes entry.
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