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
3f47f596
Commit
3f47f596
authored
Apr 27, 2012
by
Andrew Nesbitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed sass.cpp to binding.cpp
parent
93b79e29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
binding.cpp
binding.cpp
+2
-2
sass.js
sass.js
+2
-1
wscript
wscript
+7
-2
No files found.
sass
.cpp
→
binding
.cpp
View file @
3f47f596
...
...
@@ -24,4 +24,4 @@ void RegisterModule(v8::Handle<v8::Object> target) {
NODE_SET_METHOD
(
target
,
"render"
,
Render
);
}
NODE_MODULE
(
sass
,
RegisterModule
);
\ No newline at end of file
NODE_MODULE
(
binding
,
RegisterModule
);
\ No newline at end of file
sass.js
View file @
3f47f596
var
binding
=
require
(
'./build/Release/
sass
'
)
var
binding
=
require
(
'./build/Release/
binding
'
)
exports
.
render
=
binding
.
render
;
\ No newline at end of file
wscript
View file @
3f47f596
import Options
from os import unlink, symlink, popen
from os.path import exists
srcdir = "."
blddir = "build"
VERSION = "0.0.1"
...
...
@@ -11,5 +15,6 @@ def configure(conf):
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.target = "sass"
obj.source = "sass.cpp"
obj.uselib = "sass"
obj.target = "binding"
obj.source = "binding.cpp "
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