Closed fidian closed 10 years ago
Before:
// catch expect(typeof result.catch).toBe('function'); // $q // default this.value = schema.default;
After:
// catch expect(typeof result. catch).toBe('function'); // $q // default this.value = schema. default;
Unfortunately this also messes up subsequent lines because they are all indented over once more.
Also, be wary of object properties:
schema = { default: 'some value' }
vs
This is related to half of the problem plaguing #7. Keywords might not be keywords in certain contexts.
When used as an identifier, keywords are now converted to identifiers and processed properly.
Before:
After:
Unfortunately this also messes up subsequent lines because they are all indented over once more.
Also, be wary of object properties:
vs