From 7462d069ccf66ad06943d23804521f2785e29ed6 Mon Sep 17 00:00:00 2001 From: shockey Date: Fri, 14 Jul 2017 19:11:53 -0700 Subject: [PATCH] Maintain backwards compatibility with absolutePath --- swagger-ui-dist-package/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swagger-ui-dist-package/index.js b/swagger-ui-dist-package/index.js index 6e7b5e9a..c229ec43 100644 --- a/swagger-ui-dist-package/index.js +++ b/swagger-ui-dist-package/index.js @@ -10,4 +10,8 @@ try { // for more information. } +// `absolutePath` and `getAbsoluteFSPath` are both here because at one point, +// we documented having one and actually implemented the other. +// They were both retained so we don't break anyone's code. +module.exports.absolutePath = require("./absolute-path.js") module.exports.getAbsoluteFSPath = require("./absolute-path.js")