зеркало из https://github.com/mozilla/kitsune.git
remove AAQSystemInfo from global scope
This commit is contained in:
Родитель
3d078070de
Коммит
031054affa
|
@ -4,10 +4,7 @@ import BrowserDetect from "./browserdetect";
|
||||||
* Prepopulate system info in AAQ form
|
* Prepopulate system info in AAQ form
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function($) {
|
export default function AAQSystemInfo($form) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
function AAQSystemInfo($form) {
|
|
||||||
AAQSystemInfo.prototype.init.call(this, $form);
|
AAQSystemInfo.prototype.init.call(this, $form);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,6 +200,3 @@ import BrowserDetect from "./browserdetect";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
window.AAQSystemInfo = AAQSystemInfo;
|
|
||||||
})(jQuery);
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ import AjaxPreview from "sumo/js/ajaxpreview";
|
||||||
import AjaxVote from "sumo/js/ajaxvote";
|
import AjaxVote from "sumo/js/ajaxvote";
|
||||||
import { getQueryParamsAsDict, getReferrer, getSearchQuery, unquote } from "sumo/js/main";
|
import { getQueryParamsAsDict, getReferrer, getSearchQuery, unquote } from "sumo/js/main";
|
||||||
import Marky from "sumo/js/markup";
|
import Marky from "sumo/js/markup";
|
||||||
|
import AAQSystemInfo from "sumo/js/aaq";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* questions.js
|
* questions.js
|
||||||
|
|
|
@ -35,7 +35,6 @@ const entrypoints = {
|
||||||
],
|
],
|
||||||
questions: [
|
questions: [
|
||||||
"sumo/js/remote.js",
|
"sumo/js/remote.js",
|
||||||
"sumo/js/aaq.js",
|
|
||||||
"sumo/js/questions.js",
|
"sumo/js/questions.js",
|
||||||
"sumo/js/tags.filter.js",
|
"sumo/js/tags.filter.js",
|
||||||
"sumo/js/tags.js",
|
"sumo/js/tags.js",
|
||||||
|
|
|
@ -41,7 +41,6 @@ module.exports = {
|
||||||
"gettext": "readonly",
|
"gettext": "readonly",
|
||||||
"interpolate": "readonly",
|
"interpolate": "readonly",
|
||||||
"Modernizr": "readonly",
|
"Modernizr": "readonly",
|
||||||
"AAQSystemInfo": "readonly",
|
|
||||||
"remoteTroubleshooting": "readonly",
|
"remoteTroubleshooting": "readonly",
|
||||||
"d3": "readonly",
|
"d3": "readonly",
|
||||||
"abs_y": "readonly",
|
"abs_y": "readonly",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче