It is getURLParameter not getUrlParameter
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
0bb55f4ed3
commit
31a1eb0c1f
|
@ -720,7 +720,7 @@ window._=r.a,window.$=a.a,window.autosize=u.a,window.Backbone=d.a,window.Clipboa
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/,window.getUrlParameter=function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||""},window.humanFileSize=ne.a,window.relative_modified_date=function(e){return console.warn("relative_modified_date is deprecated, use OC.Util.relativeModifiedDate instead"),$.a.Util.relativeModifiedDate(1e3*e)},window.t=r.a.bind($.a.L10N.translate,$.a.L10N),window.n=r.a.bind($.a.L10N.translatePlural,$.a.L10N),
|
*/,window.getURLParameter=function(e){return decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||""},window.humanFileSize=ne.a,window.relative_modified_date=function(e){return console.warn("relative_modified_date is deprecated, use OC.Util.relativeModifiedDate instead"),$.a.Util.relativeModifiedDate(1e3*e)},window.t=r.a.bind($.a.L10N.translate,$.a.L10N),window.n=r.a.bind($.a.L10N.translatePlural,$.a.L10N),
|
||||||
/*
|
/*
|
||||||
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
|
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||||
*
|
*
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -53,7 +53,7 @@ import OCP from './OCP/index'
|
||||||
import OCA from './OCA/index'
|
import OCA from './OCA/index'
|
||||||
import escapeHTML from './Util/escapeHTML'
|
import escapeHTML from './Util/escapeHTML'
|
||||||
import formatDate from './Util/format-date'
|
import formatDate from './Util/format-date'
|
||||||
import getUrlParameter from './Util/get-url-parameter'
|
import getURLParameter from './Util/get-url-parameter'
|
||||||
import humanFileSize from './Util/human-file-size'
|
import humanFileSize from './Util/human-file-size'
|
||||||
import relative_modified_date from './Util/relative-modified-date'
|
import relative_modified_date from './Util/relative-modified-date'
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ window['OCP'] = OCP
|
||||||
window['OCA'] = OCA
|
window['OCA'] = OCA
|
||||||
window['escapeHTML'] = escapeHTML
|
window['escapeHTML'] = escapeHTML
|
||||||
window['formatDate'] = formatDate
|
window['formatDate'] = formatDate
|
||||||
window['getUrlParameter'] = getUrlParameter
|
window['getURLParameter'] = getURLParameter
|
||||||
window['humanFileSize'] = humanFileSize
|
window['humanFileSize'] = humanFileSize
|
||||||
window['relative_modified_date'] = relative_modified_date
|
window['relative_modified_date'] = relative_modified_date
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue