main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
538 bytes
|
Rev | Line | |
---|
[d565449] | 1 | // JS-YAML's default schema for `safeLoad` function.
|
---|
| 2 | // It is not described in the YAML specification.
|
---|
| 3 | //
|
---|
| 4 | // This schema is based on standard YAML's Core schema and includes most of
|
---|
| 5 | // extra types described at YAML tag repository. (http://yaml.org/type/)
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | 'use strict';
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | module.exports = require('./core').extend({
|
---|
| 12 | implicit: [
|
---|
| 13 | require('../type/timestamp'),
|
---|
| 14 | require('../type/merge')
|
---|
| 15 | ],
|
---|
| 16 | explicit: [
|
---|
| 17 | require('../type/binary'),
|
---|
| 18 | require('../type/omap'),
|
---|
| 19 | require('../type/pairs'),
|
---|
| 20 | require('../type/set')
|
---|
| 21 | ]
|
---|
| 22 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.