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
6e45b9c8
Commit
6e45b9c8
authored
Mar 30, 2012
by
Hampton Catlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a test c interface
parent
4dd8d913
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
interface.c
interface.c
+20
-0
No files found.
interface.c
0 → 100644
View file @
6e45b9c8
/*
This is when you want to compile a whole folder of stuff
*/
var
opts
=
sass_new_context
();
opts
->
sassPath
=
"/Users/hcatlin/dev/asset/stylesheet"
;
opts
->
cssPath
=
"/Users/hcatlin/dev/asset/stylesheets/.css"
;
opts
->
includePaths
=
"/Users/hcatlin/dev/asset/stylesheets:/Users/hcatlin/sasslib"
;
opts
->
outputStyle
=>
SASS_STYLE_COMPRESSED
;
sass_compile
(
opts
,
&
callbackfunction
);
/*
This is when you want to compile a string
*/
opts
=
sass_new_context
();
opts
->
inputString
=
"a { width: 50px; }"
;
opts
->
includePaths
=
"/Users/hcatlin/dev/asset/stylesheets:/Users/hcatlin/sasslib"
;
opts
->
outputStyle
=>
SASS_STYLE_EXPANDED
;
var
cssResult
=
sass_compile
(
opts
,
&
callbackfunction
);
\ No newline at end of file
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