PageSourceSearch

https://www.designerpages.com/assets/backbone/actions/users/login-…e7b2f191c7bc972c41947bd385f3dbb5641900c9.js

js designerpages.com collected 2026-10-02 05:03:02 UTC 1,297 bytes, 53 lines download raw bytes

1DP.Actions.Users = {
2
3  config : {
4    URL_USERS_LOGIN             : '/login.json'
5  },
6
7  ajax : function(_url, _data, type, async, results) {
8    $.ajax({
9      url: _url,
10      type: type,
11      data: _data,
12      dataType: "json",
13      async: async,
14      beforeSend: function (xhr) { xhr.setRequestHeader("X-CSRF-Token", $("meta[name='csrf-token']").attr("content")) },
15      success: function(response) {
16        results(response);
17      },
18      error: function(xhr, status, errorThrown) {
19        window.console && console.log(status);
20      }
21    });
22  },
23
24  ajax_form_data : function(_url, _data, type, results, errors) {
25    $.ajax({
26      url: _url,
27      type: type,
28      data: _data,
29      processData: false,
30      contentType: false,
31      beforeSend: function (xhr) { xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content')) },
32      success: function(response) {
33        results(response);
34      },
35      error: function(xhr, status, errorThrown) {
36        errors(xhr);
37      }
38    });
39  },
40
41   /**
42   * Login form 
43   */
44   login : function(data, results, errors) {
45     this.ajax_form_data(this.config.URL_USERS_LOGIN, data, 'POST', function(response) {
46       results(response);
47     }, function(error) {
48       errors(error);
49     });
50   }
51  
52}
53;

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.