Commit 8858c872 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Crib-enable: Add possible improvement in XXX

parent 49c350ca
/*global window, rJS, jIO, FormData, navigator, RSVP */
/*global window, rJS, jIO, FormData, navigator, RSVP, URL */
/*jslint indent: 2, maxerr: 3 */
(function (window, rJS, jIO) {
"use strict";
......@@ -42,6 +42,7 @@
path = path_list.join("/");
}
gadget.state_parameter_dict = {};
// XXX This should most likely be replaced by: new URL("./", window.location.href).href
gadget.state_parameter_dict.default_document = window.location.protocol +
"//" + window.location.host + path;
this.state_parameter_dict.jio_storage = jIO.createJIO({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment