Skip to content

Commit

Permalink
Maintain backwards compatibility with absolutePath
Browse files Browse the repository at this point in the history
  • Loading branch information
shockey authored Jul 15, 2017
1 parent d743137 commit 7462d06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swagger-ui-dist-package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 7462d06

Please sign in to comment.