parameter extensions display

This commit is contained in:
Greg Thompson
2017-11-06 09:17:30 -06:00
parent 67c925c1bd
commit 44c422eba3
4 changed files with 20 additions and 1 deletions

View File

@@ -678,3 +678,5 @@ export function getAcceptControllingResponse(responses) {
export const createDeepLinkPath = (str) => typeof str == "string" || str instanceof String ? str.trim().replace(/\s/g, "_") : ""
export const escapeDeepLinkPath = (str) => cssEscape( createDeepLinkPath(str) )
export const getExtensions = (defObj) => defObj.filter((v, k) => /^x-/.test(k))