From 3fba3648902bcd78eb2675fc244f7672957524fe Mon Sep 17 00:00:00 2001 From: Justin Rainbow Date: Tue, 15 Mar 2011 18:10:32 -0700 Subject: [PATCH] Organizing files --- bootstrap.php | 4 ++-- JsonSchema.php => libs/JsonSchema.php | 0 .../JsonSchemaUndefined.php | 0 tests/cases/AdditionalPropertiesTest.php | 9 ++++++++- interface.css => webroot/css/interface.css | 0 functions.js => webroot/js/functions.js | 0 interface.js => webroot/js/interface.js | 0 jquery.js => webroot/js/jquery.js | 0 jsonschema.js => webroot/js/jsonschema.js | 0 validate.php => webroot/tests/validate.php | 4 ++-- validator.html => webroot/tests/validator.html | 10 +++++----- 11 files changed, 17 insertions(+), 10 deletions(-) rename JsonSchema.php => libs/JsonSchema.php (100%) rename JsonSchemaUndefined.php => libs/JsonSchemaUndefined.php (100%) rename interface.css => webroot/css/interface.css (100%) rename functions.js => webroot/js/functions.js (100%) rename interface.js => webroot/js/interface.js (100%) rename jquery.js => webroot/js/jquery.js (100%) rename jsonschema.js => webroot/js/jsonschema.js (100%) rename validate.php => webroot/tests/validate.php (82%) rename validator.html => webroot/tests/validator.html (66%) diff --git a/bootstrap.php b/bootstrap.php index aa28ace..d1a4a84 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -1,5 +1,5 @@ '', + 'message' => 'The property additionalProp is not defined in the objTypeDef and the objTypeDef does not allow additional properties' + ) + ) ), array( '{ diff --git a/interface.css b/webroot/css/interface.css similarity index 100% rename from interface.css rename to webroot/css/interface.css diff --git a/functions.js b/webroot/js/functions.js similarity index 100% rename from functions.js rename to webroot/js/functions.js diff --git a/interface.js b/webroot/js/interface.js similarity index 100% rename from interface.js rename to webroot/js/interface.js diff --git a/jquery.js b/webroot/js/jquery.js similarity index 100% rename from jquery.js rename to webroot/js/jquery.js diff --git a/jsonschema.js b/webroot/js/jsonschema.js similarity index 100% rename from jsonschema.js rename to webroot/js/jsonschema.js diff --git a/validate.php b/webroot/tests/validate.php similarity index 82% rename from validate.php rename to webroot/tests/validate.php index 899f9ae..ea5b2e5 100644 --- a/validate.php +++ b/webroot/tests/validate.php @@ -1,6 +1,6 @@ - - - - - + + + + +