PageSourceSearch

https://namescan.io/js/components/verificationMessage.js

js namescan.io collected 2026-10-02 11:46:31 UTC 1,054 bytes, 29 lines download raw bytes

1
2function renderVerificationMessageTemplate(withTemplate, inElement, withData) {
3  getVerificationMessageTemplateAjax(withTemplate, function (template) {
4    $(inElement).html(template(withData));
5  })
6};
7function getVerificationMessageTemplateAjax(path, callback) {
8  let source, template;
9  $.ajax({
10    url: path,
11    async: true,
12    success: function (data) {
13      source = data;
14      template = Handlebars.compile(source);
15      if (callback) callback(template);
16    }
17  });
18};
19window.userStatusPromise.then(() => {
20  __renderVerificationMessage();
21})
22function __renderVerificationMessage({ typeMessage = "alertmsg", iconMessage = "icon-warning-sign", page = '' } = {}) {
23  let contextVerificationMessage = {
24    user_status: _userStatus ? _userStatus : false,
25    styles: { type_message: typeMessage, icon_message: iconMessage, },
26    page
27  }
28  renderVerificationMessageTemplate('components/verificationMessage.handlebars', page == 'modal' ? "#render_verification_message_modal" : "#render_verification_message", contextVerificationMessage);
29}

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.