Version 1
[yaffs-website] / node_modules / grunt / node_modules / js-yaml / lib / js-yaml / schema / json.js
diff --git a/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/json.js b/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/schema/json.js
new file mode 100644 (file)
index 0000000..5be3dbf
--- /dev/null
@@ -0,0 +1,25 @@
+// Standard YAML's JSON schema.
+// http://www.yaml.org/spec/1.2/spec.html#id2803231
+//
+// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
+// So, this schema is not such strict as defined in the YAML specification.
+// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
+
+
+'use strict';
+
+
+var Schema = require('../schema');
+
+
+module.exports = new Schema({
+  include: [
+    require('./failsafe')
+  ],
+  implicit: [
+    require('../type/null'),
+    require('../type/bool'),
+    require('../type/int'),
+    require('../type/float')
+  ]
+});