mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Merge branch 'master' of https://github.com/less/less.js
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
this.env.frames.shift();
|
||||
},
|
||||
visitMedia: function (mediaNode, visitArgs) {
|
||||
this.env.frames.unshift(mediaNode.ruleset);
|
||||
this.env.frames.unshift(mediaNode.rules[0]);
|
||||
return mediaNode;
|
||||
},
|
||||
visitMediaOut: function (mediaNode) {
|
||||
@@ -141,4 +141,4 @@
|
||||
}
|
||||
};
|
||||
|
||||
})(require('./tree'));
|
||||
})(require('./tree'));
|
||||
@@ -42,7 +42,7 @@
|
||||
"optionalDependencies": {
|
||||
"graceful-fs": "~2.0.3",
|
||||
"mime": "~1.2.11",
|
||||
"request": "~2.34.0",
|
||||
"request": "~2.40.0",
|
||||
"mkdirp": "~0.3.5",
|
||||
"clean-css": "2.1.x",
|
||||
"source-map": "0.1.x"
|
||||
|
||||
5
test/css/import.css
vendored
5
test/css/import.css
vendored
@@ -35,3 +35,8 @@
|
||||
color: yellow;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
6
test/less/import.less
vendored
6
test/less/import.less
vendored
@@ -19,4 +19,8 @@
|
||||
|
||||
@import (multiple) "import/import-test-e" screen and (max-width: 602px);
|
||||
|
||||
@import (less, multiple) url("import/import-test-d.css") screen and (max-width: 603px);
|
||||
@import (less, multiple) url("import/import-test-d.css") screen and (max-width: 603px);
|
||||
|
||||
@media print {
|
||||
@import (multiple) "import/import-test-e";
|
||||
}
|
||||
Reference in New Issue
Block a user