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
0f7fba37
Commit
0f7fba37
authored
Jun 12, 2012
by
Dean Mao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add precompiled binaries
parent
0ce3a026
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletions
+14
-1
binding.node
precompiled/darwin/binding.node
+0
-0
sass.js
sass.js
+14
-1
No files found.
precompiled/darwin/binding.node
0 → 100755
View file @
0f7fba37
This diff was suppressed by a .gitattributes entry.
sass.js
View file @
0f7fba37
var
binding
=
require
(
'./build/Release/binding'
)
var
binding
;
var
fs
=
require
(
'fs'
);
try
{
if
(
fs
.
realpathSync
(
__dirname
+
'/build'
))
{
// use the build version if it exists
binding
=
require
(
__dirname
+
'/build/Release/binding'
);
}
}
catch
(
e
)
{
// default to a precompiled binary if no build exists
binding
=
require
(
__dirname
+
'/precompiled/'
+
process
.
platform
+
'/binding'
);
}
if
(
binding
===
null
)
{
throw
new
Error
(
'Cannot find appropriate binary library for node-sass'
);
}
exports
.
render
=
binding
.
render
exports
.
middleware
=
require
(
'./lib/middleware'
);
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