PageSourceSearch

http://www.sishanfang.com/refurbishment-assets/js/LContentsMargintTo0.js

js sishanfang.com collected 2026-09-29 07:07:52 UTC 473 bytes, 18 lines download raw bytes

1  export default class LContentsMargintTo0 {
2  constructor(flgMt = null, flgMb = null) {
3    this.flgMt = document.querySelector(flgMt);
4    this.flgMb = document.querySelector(flgMb);
5
6    window.addEventListener('DOMContentLoaded', this._init.bind(this));
7  }
8
9  _init() {
10    const contents = document.querySelector('.l-contents');
11    if (this.flgMt) {
12      contents.classList.add('mt-0');
13    }
14    if (this.flgMb) {
15      contents.classList.add('mb-0');
16    }
17  }
18}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.