Skip to content

Commit

Permalink
Fixed missing semicolon.
Browse files Browse the repository at this point in the history
  • Loading branch information
garycourt committed Jan 10, 2011
1 parent 0867977 commit 4cdf5f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/json-schema-draft-01.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
var enums, x, xl;
if (instance.getType() !== "undefined") {
enums = schema.getAttribute("enum")
enums = schema.getAttribute("enum");
if (enums) {
for (x = 0, xl = enums.length; x < xl; ++x) {
if (instance.equals(enums[x])) {
Expand Down
2 changes: 1 addition & 1 deletion lib/json-schema-draft-02.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@
"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
var enums, x, xl;
if (instance.getType() !== "undefined") {
enums = schema.getAttribute("enum")
enums = schema.getAttribute("enum");
if (enums) {
for (x = 0, xl = enums.length; x < xl; ++x) {
if (instance.equals(enums[x])) {
Expand Down
2 changes: 1 addition & 1 deletion lib/json-schema-draft-03.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
var enums, x, xl;
if (instance.getType() !== "undefined") {
enums = schema.getAttribute("enum")
enums = schema.getAttribute("enum");
if (enums) {
for (x = 0, xl = enums.length; x < xl; ++x) {
if (instance.equals(enums[x])) {
Expand Down

0 comments on commit 4cdf5f7

Please sign in to comment.