Merge pull request #3399 from wmarshall/bug/3398-parseSearch-typo

Fix parseSearch typo
This commit is contained in:
shockey
2017-07-17 16:37:40 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import System from "core/system"
import win from "core/window"
import ApisPreset from "core/presets/apis"
import * as AllPlugins from "core/plugins/all"
import { parseSeach, filterConfigs } from "core/utils"
import { parseSearch, filterConfigs } from "core/utils"
const CONFIGS = [
"url",
@@ -83,7 +83,7 @@ module.exports = function SwaggerUI(opts) {
store: { },
}
let queryConfig = parseSeach()
let queryConfig = parseSearch()
const constructorConfig = deepExtend({}, defaults, opts, queryConfig)

View File

@@ -546,7 +546,7 @@ export const getSampleSchema = (schema, contentType="", config={}) => {
return JSON.stringify(memoizedSampleFromSchema(schema, config), null, 2)
}
export const parseSeach = () => {
export const parseSearch = () => {
let map = {}
let search = window.location.search