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
4180123c
Commit
4180123c
authored
Apr 09, 2014
by
Laurent Goderre
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #280 from nschonni/depreciate-path-separator-fix
Restore path.delimiter use for depreciateRender
parents
fae6f6d4
e510f682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sass.js
sass.js
+2
-2
No files found.
sass.js
View file @
4180123c
...
@@ -57,12 +57,12 @@ var deprecatedRender = function(css, callback, options) {
...
@@ -57,12 +57,12 @@ var deprecatedRender = function(css, callback, options) {
var
oldCallback
=
function
(
css
)
{
var
oldCallback
=
function
(
css
)
{
callback
(
null
,
css
);
callback
(
null
,
css
);
};
};
return
binding
.
render
(
css
,
options
.
imagePath
,
oldCallback
,
errCallback
,
options
.
paths
.
join
(
':'
),
options
.
style
,
options
.
comments
);
return
binding
.
render
(
css
,
options
.
imagePath
,
oldCallback
,
errCallback
,
options
.
paths
.
join
(
path
.
delimiter
),
options
.
style
,
options
.
comments
);
};
};
var
deprecatedRenderSync
=
function
(
css
,
options
)
{
var
deprecatedRenderSync
=
function
(
css
,
options
)
{
options
=
prepareOptions
(
options
);
options
=
prepareOptions
(
options
);
return
binding
.
renderSync
(
css
,
options
.
imagePath
,
options
.
paths
.
join
(
':'
),
options
.
style
,
options
.
comments
);
return
binding
.
renderSync
(
css
,
options
.
imagePath
,
options
.
paths
.
join
(
path
.
delimiter
),
options
.
style
,
options
.
comments
);
};
};
exports
.
render
=
function
(
options
)
{
exports
.
render
=
function
(
options
)
{
...
...
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