1240: рэндеринг рекламы

commented all dev stage console.info logging
remotes/origin/top_year_choice
Alexander Burdeiny 10 years ago
parent 75167062d6
commit 141b933f58
  1. 2
      static/client/js/rejs/banners.js
  2. 4
      static/client/js/rejs/tops.js
  3. 4
      templates/client/includes/banners/search_under.html
  4. 4
      templates/client/includes/banners/tops.html

@ -44,7 +44,7 @@
} catch (error) {
// do nothing
}
console.info('callback Done');
// console.info('callback Done');
};
var getBanners = function (url, callback) {

@ -40,7 +40,7 @@
} catch (error) {
// do nothing
}
console.info('callback Done');
// console.info('callback Done');
};
var getTops = function (url, callback) {
@ -53,7 +53,7 @@
console.info(document.readyState);
if (document.readyState === "loading" && !window.marker_DOMtopjsElementInserted) {
// console.info('setting DOMContentLoaded event listener');
console.info('setting DOMtopjsElementInserted event listener');
// console.info('setting DOMtopjsElementInserted event listener');
// document.addEventListener("DOMContentLoaded", function() {
document.addEventListener("DOMtopjsElementInserted", function() {

@ -5,9 +5,9 @@
<script>
(function() {
try {
console.info("DOMbannersjsElementInserted fire trying");
// console.info("DOMbannersjsElementInserted fire trying");
document.dispatchEvent(window.DOMbannersjsElementInserted);
console.info("in DOM!");
// console.info("in DOM!");
}
catch (error) {
console.info(error);

@ -3,9 +3,9 @@
<script>
(function() {
try {
console.info("DOMtopjsElementInserted fire trying");
// console.info("DOMtopjsElementInserted fire trying");
document.dispatchEvent(window.DOMtopjsElementInserted);
console.info("in DOM!");
// console.info("in DOM!");
}
catch (error) {
console.info(error);

Loading…
Cancel
Save