[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/js/dist/ -> url.js (summary)

(no description)

File Size: 1005 lines (33 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _defineProperty()
  _objectSpread()
  isURL()
  addQueryArgs()
  prependHTTP()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

isURL(url)   X-Ref
Determines whether the given string looks like a URL.

return: {boolean} Whether or not it looks like a URL.
param: {string} url The string to scrutinise.

addQueryArgs(url, args)   X-Ref
Appends arguments to the query string of the url

return: {string}       Updated URL
param: {string} url   URL
param: {Object} args  Query Args

prependHTTP(url)   X-Ref
Prepends "http://" to a url, if it looks like something that is meant to be a TLD.

return: {string}     The updated URL
param: {string} url The URL to test



Generated: Mon Jan 7 01:00:05 2019 Cross-referenced by PHPXref 0.7.1