➕ add TailwindCSS
+ a lot of node_modules?? unsure what happened
This commit is contained in:
parent
2ba37bfbe3
commit
bb41712ce4
1088 changed files with 224305 additions and 175 deletions
24
node_modules/yaml/browser/dist/nodes/Scalar.js
generated
vendored
Normal file
24
node_modules/yaml/browser/dist/nodes/Scalar.js
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
import { SCALAR } from './identity.js';
|
||||
import { NodeBase } from './Node.js';
|
||||
import { toJS } from './toJS.js';
|
||||
|
||||
const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object');
|
||||
class Scalar extends NodeBase {
|
||||
constructor(value) {
|
||||
super(SCALAR);
|
||||
this.value = value;
|
||||
}
|
||||
toJSON(arg, ctx) {
|
||||
return ctx?.keep ? this.value : toJS(this.value, arg, ctx);
|
||||
}
|
||||
toString() {
|
||||
return String(this.value);
|
||||
}
|
||||
}
|
||||
Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED';
|
||||
Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL';
|
||||
Scalar.PLAIN = 'PLAIN';
|
||||
Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE';
|
||||
Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE';
|
||||
|
||||
export { Scalar, isScalarValue };
|
Loading…
Add table
Add a link
Reference in a new issue