Completed
Push — master ( 39fb8c...529c14 )
by Sander
01:17
created

js/lib/API/web_request.js   A

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 15
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 15
rs 10
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 0
1
/*
2
 * To change this license header, choose License Headers in Project Properties.
3
 * To change this template file, choose Tools | Templates
4
 * and open the template in the editor.
5
 */
6
7
8
/* global API */
9
10
API.webRequest = {
11
12
    /**
13
     * Event handlers from now on
14
     */
15
    onBeforeRequest: API.api.webRequest.onBeforeRequest,
16
    onBeforeSendHeaders: API.api.webRequest.onBeforeSendHeaders,
17
    onSendHeaders: API.api.webRequest.onSendHeaders,
18
    onHeadersReceived: API.api.webRequest.onHeadersReceived,
19
    onAuthRequired: API.api.webRequest.onAuthRequired,
20
    onResponseStarted: API.api.webRequest.onResponseStarted,
21
    onBeforeRedirect: API.api.webRequest.onBeforeRedirect,
22
    onCompleted: API.api.webRequest.onCompleted,
23
    onErrorOccurred: API.api.webRequest.onErrorOccurred
24
};