Skip to content

Commit

Permalink
Schema - pretty print errors #27
Browse files Browse the repository at this point in the history
  • Loading branch information
aetheon committed Aug 16, 2015
1 parent 0668945 commit b9a50e4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 308 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,6 @@ the browserify bundle.
## open http://localhost:8585/test/ to run the tests on your browser
grunt


```

#### Build
Expand All @@ -1475,21 +1474,19 @@ The following command will run the build.

``` bash


grunt build


```

#### Release

``` bash

## change the package.json, bower.json pre-release version (v1.0.0-1)
grunt pre-release
grunt bump:prerelease

## change the package.json, bower.json minor version (v1.0.1)
grunt patch
grunt bump:patch

## Publish current version to npm and bower
grunt publish
Expand Down
12 changes: 1 addition & 11 deletions src/Common/Schema/SchemaResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ var Safe = require("../Safe"),
Type = require("../Type"),
Assert = require("../Assert"),
ExceptionList = require("../Exception/ExceptionList"),
Types = require("./Types"),
SchemaResultNode = require("./SchemaResultNode");
Types = require("./Types");

/**
*
Expand Down Expand Up @@ -36,15 +35,6 @@ var SchemaResult = function(schema, value){
*/
var errors = new ExceptionList();

/**
*
* Hierarchical evaluation reference node
*
* @type {SchemaResultNode}
*
*/
var node = new SchemaResultNode(schema);

/**
*
* SchemaResult API
Expand Down
185 changes: 0 additions & 185 deletions src/Common/Schema/SchemaResultNode.js

This file was deleted.

105 changes: 0 additions & 105 deletions src/Common/Schema/SchemaResultNodeJasmineSpec.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/SpecIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ var SpecIndex = _.extend({}, Divhide, {
Schema: {

SchemaDefinition: require("./Common/Schema/SchemaDefinition"),
SchemaResultNode: require("./Common/Schema/SchemaResultNode"),


Mixins: {
SchemaExecution: require("./Common/Schema/Mixins/SchemaExecution"),
SchemaExecutionHelper: require("./Common/Schema/Mixins/SchemaExecutionHelper")
Expand Down

0 comments on commit b9a50e4

Please sign in to comment.