schema.js 265 B

123456789101112131415161718
  1. 'use strict'
  2. module.exports = Schema
  3. var proto = Schema.prototype
  4. proto.space = null
  5. proto.normal = {}
  6. proto.property = {}
  7. function Schema(property, normal, space) {
  8. this.property = property
  9. this.normal = normal
  10. if (space) {
  11. this.space = space
  12. }
  13. }