PageSourceSearch

http://medytoxacademy.com/weven_asset/js/bm2/com/toolset/ToolDom.js

js medytoxacademy.com collected 2026-10-07 08:32:49 UTC 1,211 bytes, 49 lines download raw bytes

1/**
2 * Created by kjhmac on 2017-01-14.
3 */
4
5var ToolDom = function(){
6
7    this.type = TOOL_TYPE.DOM;
8
9    this.setBtnSet( true
10        , [
11            new ToolBtnSeperator("tool_separation", [
12                "dom_backgroundImage"
13                ,"dom_background"
14                , "dom_border"
15                , "dom_padding"
16                , "dom_margin"
17                , "dom_width_limit"
18                , "dom_width_unlimit"
19                , "dom_align_left"
20                , "dom_align_center"
21                , "dom_align_right"
22                , "dom_sourceCode"])
23        ]);
24}
25
26
27bm.extend( ToolBase , ToolDom );
28
29ToolDom.prototype.registListener = function(){
30    var _this = this;
31
32    $(this.list).on("mouseenter", function(e){
33        e.stopImmediatePropagation();
34        _this.target = this;
35        _this.show();
36    });
37
38    $(window).on("resize", this.onWindowResize );
39}
40
41
42ToolDom.prototype.reposition = function(){
43    if( this.target ){
44        $(this.btnSet).css( {
45            top : $(this.target).offset().top + $(this.target).height() + 30 + "px"
46            ,left : $(this.target).offset().left + ( $(this.target).width() - $(this.btnSet).width())/2 + "px"
47        } );
48    }
49}

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.