Moved utility functions from assets to helpers

This commit is contained in:
Liyas Thomas
2020-09-26 07:57:45 +05:30
parent 8b3b6a471b
commit 66cd75dce8
5 changed files with 5 additions and 5 deletions

View File

@@ -305,7 +305,7 @@ kbd {
</style> </style>
<script> <script>
import intializePwa from "~/assets/js/pwa" import intializePwa from "~/helpers/pwa"
import { import {
hasExtensionInstalled, hasExtensionInstalled,
hasChromeExtensionInstalled, hasChromeExtensionInstalled,

View File

@@ -1248,16 +1248,16 @@
import url from "url" import url from "url"
import querystring from "querystring" import querystring from "querystring"
import { commonHeaders } from "~/helpers/headers" import { commonHeaders } from "~/helpers/headers"
import parseCurlCommand from "~/assets/js/curlparser.js" import parseCurlCommand from "~/helpers/curlparser"
import getEnvironmentVariablesFromScript from "~/helpers/preRequest" import getEnvironmentVariablesFromScript from "~/helpers/preRequest"
import runTestScriptWithVariables from "~/helpers/postwomanTesting" import runTestScriptWithVariables from "~/helpers/postwomanTesting"
import parseTemplateString from "~/helpers/templating" import parseTemplateString from "~/helpers/templating"
import { tokenRequest, oauthRedirect } from "~/assets/js/oauth" import { tokenRequest, oauthRedirect } from "~/helpers/oauth"
import { cancelRunningRequest, sendNetworkRequest } from "~/helpers/network" import { cancelRunningRequest, sendNetworkRequest } from "~/helpers/network"
import { fb } from "~/helpers/fb" import { fb } from "~/helpers/fb"
import { getEditorLangForMimeType } from "~/helpers/editorutils" import { getEditorLangForMimeType } from "~/helpers/editorutils"
import { hasPathParams, addPathParamsToVariables, getQueryParams } from "~/helpers/requestParams.js" import { hasPathParams, addPathParamsToVariables, getQueryParams } from "~/helpers/requestParams"
import { parseUrlAndPath } from "~/helpers/utils/uri.js" import { parseUrlAndPath } from "~/helpers/utils/uri"
import { httpValid } from "~/helpers/utils/valid" import { httpValid } from "~/helpers/utils/valid"
import { knownContentTypes, isJSONContentType } from "~/helpers/utils/contenttypes" import { knownContentTypes, isJSONContentType } from "~/helpers/utils/contenttypes"
import closeIcon from "~/static/icons/close-24px.svg?inline" import closeIcon from "~/static/icons/close-24px.svg?inline"