Use Nan::To<Type> instead of ->ToType() to convert caller supplied objects in renderXXX functions. Verify that provided options, options.result and options.result.stats are all valid objects provided by the caller. Throw TypeException otherwise. Introduce low-level tests that invoke C++ function directly, without additional JavaScript wrappers.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| libsass @ 0e6b4a28 | ||
| sass_types | Loading commit data... | |
| binding.cpp | Loading commit data... | |
| callback_bridge.h | Loading commit data... | |
| create_string.cpp | Loading commit data... | |
| create_string.h | Loading commit data... | |
| custom_function_bridge.cpp | Loading commit data... | |
| custom_function_bridge.h | Loading commit data... | |
| custom_importer_bridge.cpp | Loading commit data... | |
| custom_importer_bridge.h | Loading commit data... | |
| libsass.gyp | Loading commit data... | |
| sass_context_wrapper.cpp | Loading commit data... | |
| sass_context_wrapper.h | Loading commit data... |