Version 1
[yaffs-website] / node_modules / grunt / node_modules / js-yaml / lib / js-yaml / schema / default_full.js
diff --git a/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default_full.js b/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/default_full.js
new file mode 100644 (file)
index 0000000..a55ef42
--- /dev/null
@@ -0,0 +1,25 @@
+// JS-YAML's default schema for `load` function.
+// It is not described in the YAML specification.
+//
+// This schema is based on JS-YAML's default safe schema and includes
+// JavaScript-specific types: !!js/undefined, !!js/regexp and !!js/function.
+//
+// Also this schema is used as default base schema at `Schema.create` function.
+
+
+'use strict';
+
+
+var Schema = require('../schema');
+
+
+module.exports = Schema.DEFAULT = new Schema({
+  include: [
+    require('./default_safe')
+  ],
+  explicit: [
+    require('../type/js/undefined'),
+    require('../type/js/regexp'),
+    require('../type/js/function')
+  ]
+});