Browse files

Renaming Schema.js to BaseSchema.js

  • Loading branch information...
1 parent f90eaeb commit 5b9a97fc492002fd73941baed6e969eba29171e7 @molnarg committed Jan 31, 2013
View
0 lib/Schema.js → lib/BaseSchema.js
File renamed without changes.
View
2 lib/extensions/Array.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
, EqualitySchema = require('../patterns/equality')
, anything = require('../patterns/anything').instance
View
2 lib/extensions/Boolean.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var BooleanSchema = module.exports = Schema.extensions.BooleanSchema = new Schema.extend({
validate : function(instance) {
View
2 lib/extensions/Number.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var NumberSchema = module.exports = Schema.extensions.NumberSchema = Schema.extend({
initialize : function(minimum, exclusiveMinimum, maximum, exclusiveMaximum, divisibleBy) {
View
2 lib/extensions/Schema.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
, schema = require('../schema')
var SchemaReference = module.exports = Schema.extensions.SchemaReference = Schema.extend({
View
2 lib/patterns/anything.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var AnythingSchema = module.exports = Schema.patterns.AnythingSchema = Schema.extend({
validate : function(instance) {
View
2 lib/patterns/class.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var ClassSchema = module.exports = Schema.patterns.ClassSchema = Schema.extend({
initialize : function(constructor) {
View
2 lib/patterns/equality.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
// Object deep equality
var equal = function(a, b) {
View
2 lib/patterns/nothing.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var NothingSchema = module.exports = Schema.patterns.NothingSchema = Schema.extend({
validate : function(instance) {
View
2 lib/patterns/object.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
, anything = require('./anything').instance
, nothing = require('./nothing').instance
View
2 lib/patterns/or.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
, EqualitySchema = require('../patterns/equality')
var OrSchema = module.exports = Schema.patterns.OrSchema = Schema.extend({
View
2 lib/patterns/reference.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var ReferenceSchema = module.exports = Schema.patterns.ReferenceSchema = Schema.extend({
initialize : function(value) {
View
2 lib/patterns/regexp.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
var RegexpSchema = module.exports = Schema.patterns.RegexpSchema = Schema.extend({
initialize : function(regexp) {
View
2 lib/patterns/schema.js
@@ -1,4 +1,4 @@
-var Schema = require('../Schema')
+var Schema = require('../BaseSchema')
Schema.fromJS.def(function(sch) {
if (sch instanceof Schema) return sch
View
2 lib/schema.js
@@ -1,4 +1,4 @@
-var Schema = require('./Schema')
+var Schema = require('./BaseSchema')
var schema = module.exports = function(schemaDescription) {
var doc, schemaObject

0 comments on commit 5b9a97f

Please sign in to comment.