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
b26bd00d
Commit
b26bd00d
authored
May 02, 2013
by
Brett Wilkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Amending Exception message in renderSync, Mac precompiled
parent
e82cfa94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
binding.cpp
binding.cpp
+2
-3
binding.node
precompiled/darwin-x64/binding.node
+0
-0
No files found.
binding.cpp
View file @
b26bd00d
...
...
@@ -74,7 +74,6 @@ Handle<Value> Render(const Arguments& args) {
Handle
<
Value
>
RenderSync
(
const
Arguments
&
args
)
{
HandleScope
scope
;
TryCatch
try_catch
;
sass_context
*
ctx
=
sass_new_context
();
char
*
source
;
String
::
AsciiValue
astr
(
args
[
0
]);
...
...
@@ -90,9 +89,9 @@ Handle<Value> RenderSync(const Arguments& args) {
sass_compile
(
ctx
);
if
(
ctx
->
error_status
==
0
)
{
return
scope
.
Close
(
Local
<
Value
>::
New
(
String
::
New
(
ctx
->
output_string
)));
}
else
{
ThrowException
(
Exception
::
Error
(
String
::
New
(
"Input does not appear to be valid SCSS."
)));
}
ThrowException
(
Exception
::
Error
(
String
::
New
(
ctx
->
error_message
)));
return
scope
.
Close
(
Undefined
());
}
...
...
precompiled/darwin-x64/binding.node
View file @
b26bd00d
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