mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
22
node_modules/clean-css/lib/stringifier/simple.js
generated
vendored
Normal file
22
node_modules/clean-css/lib/stringifier/simple.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
var all = require('./helpers').all;
|
||||
|
||||
function store(token, context) {
|
||||
context.output.push(typeof token == 'string' ? token : token[0]);
|
||||
}
|
||||
|
||||
function stringify(tokens, options, restoreCallback) {
|
||||
var context = {
|
||||
keepBreaks: options.keepBreaks,
|
||||
output: [],
|
||||
spaceAfterClosingBrace: options.compatibility.properties.spaceAfterClosingBrace,
|
||||
store: store
|
||||
};
|
||||
|
||||
all(tokens, context, false);
|
||||
|
||||
return {
|
||||
styles: restoreCallback(context.output.join('')).trim()
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = stringify;
|
||||
Reference in New Issue
Block a user