diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-03 01:03:53 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-03 01:03:53 +0800 |
commit | 35c9330d6246183509a3543cdf1278b9ced191e2 (patch) | |
tree | 5cef8b37a52ef4ce258a971b1ae52c5c2ad63a63 /src/utils | |
parent | ab5b5a881bc8f8f8d176ae65440de8fcd25ad906 (diff) | |
parent | c83587a16d016d1efafaf31abb9b39eb54128568 (diff) | |
download | dexon-0x-contracts-35c9330d6246183509a3543cdf1278b9ced191e2.tar.gz dexon-0x-contracts-35c9330d6246183509a3543cdf1278b9ced191e2.tar.zst dexon-0x-contracts-35c9330d6246183509a3543cdf1278b9ced191e2.zip |
Merge branch 'master' into unavailableFilledCancelled
# Conflicts:
# src/contract_wrappers/exchange_wrapper.ts
# src/types.ts
# test/exchange_wrapper_test.ts
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/schema_validator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/schema_validator.ts b/src/utils/schema_validator.ts index db8a960ba..932ddf62a 100644 --- a/src/utils/schema_validator.ts +++ b/src/utils/schema_validator.ts @@ -6,7 +6,7 @@ import {tokenSchema} from '../schemas/token_schema'; export class SchemaValidator { private validator: Validator; // In order to validate a complex JS object using jsonschema, we must replace any complex - // sub-types (e.g BigNumber) with a simpler string represenation. Since BigNumber and other + // sub-types (e.g BigNumber) with a simpler string representation. Since BigNumber and other // complex types implement the `toString` method, we can stringify the object and // then parse it. The resultant object can then be checked using jsonschema. public static convertToJSONSchemaCompatibleObject(obj: object): object { |