PageSourceSearch

https://devdocs.io/assets/views/misc/notice-20e15a2c0e6c077580246e…2d8253bdfb9d0db8e6a983e21e3ef605f9dcf1a3.js

js devdocs.io collected 2026-09-24 08:31:32 UTC 503 bytes, 1 lines download raw bytes

1import{app}from"../../app/app.js";import{$}from"../../lib/util.js";import{View}from"../view.js";export class Notice extends View{static className="_notice";static attributes={role:"alert"};constructor(t,...i){super(),this.type=t,this.args=i||[],this.init0(),this.refreshElements()}init0(){this.activate()}activate(){super.activate()&&this.show()}deactivate(){super.deactivate()&&this.hide()}show(){this.html(this.tmpl(`${this.type}Notice`,...this.args)),this.prependTo(app.el)}hide(){$.remove(this.el)}}

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.