Remove the deprecatedInMozcentral
functionality from the external/builder/builder.js
file
This functionality has been completely unused ever since PR 9629 (two years ago).
This commit is contained in:
parent
fe5689705d
commit
ce234ab3c7
8
external/builder/builder.js
vendored
8
external/builder/builder.js
vendored
@ -196,19 +196,13 @@ function preprocess(inFilename, outFilename, defines) {
|
|||||||
}
|
}
|
||||||
exports.preprocess = preprocess;
|
exports.preprocess = preprocess;
|
||||||
|
|
||||||
var deprecatedInMozcentral = new RegExp(
|
|
||||||
"(^|\\W)(" + ["-moz-box-sizing", "-moz-grab", "-moz-grabbing"].join("|") + ")"
|
|
||||||
);
|
|
||||||
|
|
||||||
function preprocessCSS(mode, source, destination) {
|
function preprocessCSS(mode, source, destination) {
|
||||||
function hasPrefixedFirefox(line) {
|
function hasPrefixedFirefox(line) {
|
||||||
return /(^|\W)-(ms|o|webkit)-\w/.test(line);
|
return /(^|\W)-(ms|o|webkit)-\w/.test(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
function hasPrefixedMozcentral(line) {
|
function hasPrefixedMozcentral(line) {
|
||||||
return (
|
return /(^|\W)-(ms|o|webkit)-\w/.test(line);
|
||||||
/(^|\W)-(ms|o|webkit)-\w/.test(line) || deprecatedInMozcentral.test(line)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function expandImports(content, baseUrl) {
|
function expandImports(content, baseUrl) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user