$
This commit is contained in:
1
node_modules/node-sass/test/fixtures/compressed/expected.css
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/compressed/expected.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#navbar{width:80%;height:23px}#navbar ul{list-style-type:none}#navbar li{float:left}#navbar li a{font-weight:bold}
|
16
node_modules/node-sass/test/fixtures/compressed/index.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/compressed/index.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
3
node_modules/node-sass/test/fixtures/custom-functions/setter-expected.css
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/custom-functions/setter-expected.css
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
div {
|
||||
width: 42rem;
|
||||
height: 84px; }
|
1
node_modules/node-sass/test/fixtures/custom-functions/setter.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/custom-functions/setter.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
div { width: foo(42px); height: bar(42px); }
|
2
node_modules/node-sass/test/fixtures/custom-functions/string-conversion-expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/custom-functions/string-conversion-expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
div {
|
||||
color: "barbar"; }
|
1
node_modules/node-sass/test/fixtures/custom-functions/string-conversion.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/custom-functions/string-conversion.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
div { color: foo("bar"); }
|
2
node_modules/node-sass/test/fixtures/cwd-include-path/expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/cwd-include-path/expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.outside {
|
||||
color: red; }
|
3
node_modules/node-sass/test/fixtures/cwd-include-path/outside.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/cwd-include-path/outside.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.outside {
|
||||
color: red;
|
||||
}
|
1
node_modules/node-sass/test/fixtures/cwd-include-path/root/index.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/cwd-include-path/root/index.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import 'outside';
|
6
node_modules/node-sass/test/fixtures/depth-first/_common.scss
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/depth-first/_common.scss
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
@import "vars";
|
||||
@import "struct";
|
||||
|
||||
.myvars {
|
||||
content: quote($import_counter);
|
||||
}
|
3
node_modules/node-sass/test/fixtures/depth-first/_struct.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/_struct.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.common-struct {
|
||||
content: "common-struct";
|
||||
}
|
5
node_modules/node-sass/test/fixtures/depth-first/_vars.scss
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/depth-first/_vars.scss
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
$import_counter: $import_counter + 1;
|
||||
|
||||
.common-vars {
|
||||
content: "common-vars";
|
||||
}
|
7
node_modules/node-sass/test/fixtures/depth-first/a.scss
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/depth-first/a.scss
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@import "_common";
|
||||
@import "a1";
|
||||
|
||||
.a2 {
|
||||
content: "a2";
|
||||
}
|
||||
|
3
node_modules/node-sass/test/fixtures/depth-first/a1.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/a1.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.a1 {
|
||||
content: "a1";
|
||||
}
|
5
node_modules/node-sass/test/fixtures/depth-first/b.scss
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/depth-first/b.scss
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
@import "b1";
|
||||
|
||||
.b2 {
|
||||
content: "b2";
|
||||
}
|
3
node_modules/node-sass/test/fixtures/depth-first/b1.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/b1.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.b1 {
|
||||
content: "b1";
|
||||
}
|
32
node_modules/node-sass/test/fixtures/depth-first/expected.css
generated
vendored
Normal file
32
node_modules/node-sass/test/fixtures/depth-first/expected.css
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
.common-vars {
|
||||
content: "common-vars"; }
|
||||
|
||||
.common-struct {
|
||||
content: "common-struct"; }
|
||||
|
||||
.myvars {
|
||||
content: "1"; }
|
||||
|
||||
.a1 {
|
||||
content: "a1"; }
|
||||
|
||||
.a2 {
|
||||
content: "a2"; }
|
||||
|
||||
.common-vars {
|
||||
content: "common-vars"; }
|
||||
|
||||
.common-struct {
|
||||
content: "common-struct"; }
|
||||
|
||||
.myvars {
|
||||
content: "2"; }
|
||||
|
||||
.b1 {
|
||||
content: "b1"; }
|
||||
|
||||
.b2 {
|
||||
content: "b2"; }
|
||||
|
||||
#the-last {
|
||||
content: "LAST"; }
|
8
node_modules/node-sass/test/fixtures/depth-first/index.scss
generated
vendored
Normal file
8
node_modules/node-sass/test/fixtures/depth-first/index.scss
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
$import_counter: 0;
|
||||
@import "a";
|
||||
@import "common";
|
||||
@import "b";
|
||||
|
||||
#the-last {
|
||||
content: "LAST";
|
||||
}
|
12
node_modules/node-sass/test/fixtures/extras/my_custom_arrays_of_importers.js
generated
vendored
Normal file
12
node_modules/node-sass/test/fixtures/extras/my_custom_arrays_of_importers.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var sass = require('../../..');
|
||||
|
||||
module.exports = [
|
||||
function() {
|
||||
return sass.NULL;
|
||||
},
|
||||
function() {
|
||||
return {
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
}
|
||||
];
|
10
node_modules/node-sass/test/fixtures/extras/my_custom_functions_setter.js
generated
vendored
Normal file
10
node_modules/node-sass/test/fixtures/extras/my_custom_functions_setter.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
'foo($a)': function(size) {
|
||||
size.setUnit('rem');
|
||||
return size;
|
||||
},
|
||||
'bar($a)': function(size) {
|
||||
size.setValue(size.getValue() * 2);
|
||||
return size;
|
||||
}
|
||||
};
|
8
node_modules/node-sass/test/fixtures/extras/my_custom_functions_string_conversion.js
generated
vendored
Normal file
8
node_modules/node-sass/test/fixtures/extras/my_custom_functions_string_conversion.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var sass = require('../../..');
|
||||
|
||||
module.exports = {
|
||||
'foo($a)': function(str) {
|
||||
str = str.getValue().replace(/['"]/g, '');
|
||||
return new sass.types.String('"' + str + str + '"');
|
||||
}
|
||||
};
|
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data.js
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function() {
|
||||
return {
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
};
|
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data_cb.js
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data_cb.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function(file, prev, done) {
|
||||
done({
|
||||
contents: 'div {color: yellow;}'
|
||||
});
|
||||
};
|
3
node_modules/node-sass/test/fixtures/extras/my_custom_importer_error.js
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/extras/my_custom_importer_error.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function() {
|
||||
return new Error('doesn\'t exist!');
|
||||
};
|
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file.js
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
var path = require('path');
|
||||
|
||||
module.exports = function(file) {
|
||||
return {
|
||||
file: path.resolve(path.join(process.cwd(), 'test/fixtures/include-files/', file + (path.extname(file) ? '' : '.scss')))
|
||||
};
|
||||
};
|
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data.js
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = function() {
|
||||
return {
|
||||
file: '/some/random/path/file.scss',
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
};
|
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb.js
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = function(file, prev, done) {
|
||||
done({
|
||||
file: '/some/random/path/file.scss',
|
||||
contents: 'div {color: yellow;}'
|
||||
});
|
||||
};
|
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_cb.js
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_cb.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
var path = require('path');
|
||||
|
||||
module.exports = function(file, /* jshint unused:false */ prev, done) {
|
||||
done({
|
||||
file: path.resolve(path.join(process.cwd(), 'test/fixtures/include-files/', file + (path.extname(file) ? '' : '.scss')))
|
||||
});
|
||||
};
|
16
node_modules/node-sass/test/fixtures/follow/foo/bar/index.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/follow/foo/bar/index.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-files/bar.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/bar.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/* bar.scss */
|
1
node_modules/node-sass/test/fixtures/include-files/chained-imports-with-custom-importer.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/chained-imports-with-custom-importer.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import "file-not-processed-by-loader", "file-processed-by-loader";
|
5
node_modules/node-sass/test/fixtures/include-files/expected-data-importer.css
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/include-files/expected-data-importer.css
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
div {
|
||||
color: yellow; }
|
||||
|
||||
div {
|
||||
color: yellow; }
|
2
node_modules/node-sass/test/fixtures/include-files/expected-file-importer.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/include-files/expected-file-importer.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* foo.scss */
|
||||
/* bar.scss */
|
5
node_modules/node-sass/test/fixtures/include-files/expected-importer.css
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/include-files/expected-importer.css
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
div {
|
||||
color: yellow; }
|
||||
|
||||
div {
|
||||
color: yellow; }
|
1
node_modules/node-sass/test/fixtures/include-files/file-not-processed-by-loader.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/file-not-processed-by-loader.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$variable-defined-by-file-not-processed-by-loader: 'red';
|
3
node_modules/node-sass/test/fixtures/include-files/file-processed-by-loader.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-files/file-processed-by-loader.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
color: $variable-defined-by-file-not-processed-by-loader;
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-files/foo.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/foo.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/* foo.scss */
|
2
node_modules/node-sass/test/fixtures/include-files/index.scss
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/include-files/index.scss
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
@import 'foo';
|
||||
@import 'bar';
|
3
node_modules/node-sass/test/fixtures/include-path/expected.css
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-path/expected.css
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
background: red;
|
||||
color: #0000fe; }
|
3
node_modules/node-sass/test/fixtures/include-path/functions/colorBlue.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-path/functions/colorBlue.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@function colorBlue() {
|
||||
@return #0000fe;
|
||||
}
|
7
node_modules/node-sass/test/fixtures/include-path/index.scss
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/include-path/index.scss
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@import 'vars';
|
||||
@import 'colorBlue';
|
||||
|
||||
body {
|
||||
background: $color;
|
||||
color: colorBlue();
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-path/lib/vars.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-path/lib/vars.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$color: red;
|
2
node_modules/node-sass/test/fixtures/indent/expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/indent/expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
foo + bar {
|
||||
color: red; }
|
3
node_modules/node-sass/test/fixtures/indent/index.sass
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/indent/index.sass
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
foo
|
||||
+ bar
|
||||
color: red
|
16
node_modules/node-sass/test/fixtures/input-directory/sass/_skipped.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/input-directory/sass/_skipped.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
16
node_modules/node-sass/test/fixtures/input-directory/sass/nested/three.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/input-directory/sass/nested/three.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
16
node_modules/node-sass/test/fixtures/input-directory/sass/one.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/input-directory/sass/one.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
16
node_modules/node-sass/test/fixtures/input-directory/sass/two.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/input-directory/sass/two.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
3
node_modules/node-sass/test/fixtures/invalid/index.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/invalid/index.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
background-color: $green;
|
||||
}
|
16
node_modules/node-sass/test/fixtures/output-directory/index.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/output-directory/index.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user