| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| boolean.cpp | ||
| boolean.h | ||
| color.cpp | ||
| color.h | ||
| error.cpp | ||
| error.h | ||
| factory.cpp | ||
| factory.h | ||
| list.cpp | ||
| list.h | ||
| map.cpp | ||
| map.h | ||
| null.cpp | ||
| null.h | ||
| number.cpp | ||
| number.h | ||
| sass_value_wrapper.h | ||
| string.cpp | ||
| string.h | ||
| value.h |
In case of exception occuring during construction
of a Sass type instance just return Undefined value,
as the delayed JS exception will pop up later.
The following code:
var sass = require('./');
sass.render({
data: 'div { color: foo(); }',
functions: {
'foo()': function() {
return sass.types.Color(2,3);
}
}
});
now results in an libsass error
Constructor should be invoked with either 0, 1, 3 or 4 arguments
instead of V8 abort
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| boolean.cpp | Loading commit data... | |
| boolean.h | Loading commit data... | |
| color.cpp | Loading commit data... | |
| color.h | Loading commit data... | |
| error.cpp | Loading commit data... | |
| error.h | Loading commit data... | |
| factory.cpp | Loading commit data... | |
| factory.h | Loading commit data... | |
| list.cpp | Loading commit data... | |
| list.h | Loading commit data... | |
| map.cpp | Loading commit data... | |
| map.h | Loading commit data... | |
| null.cpp | Loading commit data... | |
| null.h | Loading commit data... | |
| number.cpp | Loading commit data... | |
| number.h | Loading commit data... | |
| sass_value_wrapper.h | Loading commit data... | |
| string.cpp | Loading commit data... | |
| string.h | Loading commit data... | |
| value.h | Loading commit data... |