選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

18 行
813 B

  1. try {
  2. module.exports.SwaggerUIBundle = require("./swagger-ui-bundle.js")
  3. module.exports.SwaggerUIStandalonePreset = require("./swagger-ui-standalone-preset.js")
  4. } catch(e) {
  5. // swallow the error if there's a problem loading the assets.
  6. // allows this module to support providing the assets for browserish contexts,
  7. // without exploding in a Node context.
  8. //
  9. // see https://github.com/swagger-api/swagger-ui/issues/3291#issuecomment-311195388
  10. // for more information.
  11. }
  12. // `absolutePath` and `getAbsoluteFSPath` are both here because at one point,
  13. // we documented having one and actually implemented the other.
  14. // They were both retained so we don't break anyone's code.
  15. module.exports.absolutePath = require("./absolute-path.js")
  16. module.exports.getAbsoluteFSPath = require("./absolute-path.js")