componentClass.js 754 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * type:0 missing
  3. * type:1 diff
  4. *
  5. */
  6. const appTransformation = require('./classSubdirectory/app')
  7. const pageTransformation = require('./classSubdirectory/page')
  8. const componentTransformation = require('./classSubdirectory/component')
  9. const originApp = App
  10. const originPage = Page
  11. const originComponent = Component
  12. App = function(options = {}) {
  13. const _opts = {}
  14. appTransformation.processTransformationApp(_opts, options)
  15. originApp(_opts)
  16. }
  17. Page = function(options = {}) {
  18. const _opts = {}
  19. pageTransformation.processTransformationPage(_opts, options)
  20. originPage(_opts)
  21. }
  22. Component = function(options = {}) {
  23. const _opts = {}
  24. componentTransformation.processTransformationComponent(_opts, options)
  25. originComponent(_opts)
  26. }