Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/node-sass/src/sass_types/error.cpp')
-rw-r--r--node_modules/node-sass/src/sass_types/error.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/node_modules/node-sass/src/sass_types/error.cpp b/node_modules/node-sass/src/sass_types/error.cpp
deleted file mode 100644
index 03c6307..0000000
--- a/node_modules/node-sass/src/sass_types/error.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <nan.h>
-#include "error.h"
-#include "../create_string.h"
-
-namespace SassTypes
-{
- Error::Error(Sass_Value* v) : SassValueWrapper(v) {}
-
- Sass_Value* Error::construct(const std::vector<v8::Local<v8::Value>> raw_val, Sass_Value **out) {
- char const* value = "";
-
- if (raw_val.size() >= 1) {
- if (!raw_val[0]->IsString()) {
- return fail("Argument should be a string.", out);
- }
-
- value = create_string(raw_val[0]);
- }
-
- return *out = sass_make_error(value);
- }
-
- void Error::initPrototype(v8::Local<v8::FunctionTemplate>) {}
-}