Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated summary view. #25

Merged
merged 15 commits into from Apr 4, 2018
Prev
Fix jsdoc issues
  • Loading branch information
IAmThePan committed Apr 4, 2018
commit 78f04ae2a40ad29e119dc1e0d6970e305bd73698
@@ -34,7 +34,7 @@ class CliqzFeatures extends React.Component {

/**
* Calculates the text for above the Ad Blocking feature icon
* @return {String or Int} The text for above the Ad Blocking icon
* @return {String | Int} The text for above the Ad Blocking icon
*/
getAdBlockingTotal() {
if (!this.props.adBlockingActive) {
@@ -45,7 +45,7 @@ class CliqzFeatures extends React.Component {

/**
* Calculates the text for above the Smart Blocking feature icon
* @return {String or Int} The text for above the Smart Blocking icon
* @return {String | Int} The text for above the Smart Blocking icon
*/
getSmartBlockingTotal() {
if (!this.props.smartBlockingActive) {
@@ -59,7 +59,7 @@ class CliqzFeatures extends React.Component {

/**
* Calculates the text for above the Anti Tracking feature icon
* @return {String or Int} The text for above the Anit Tracking icon
* @return {String | Int} The text for above the Anit Tracking icon
*/
getAntiTrackingTotal() {
if (!this.props.antiTrackingActive) {
@@ -108,8 +108,8 @@ class DonutGraph extends React.Component {
* Generate donut-shaped graph with the scanning results.
* Add mouse event listeners to the arcs of the donut graph that filter the
* detailed view to the corresponding tracker category.
* @param {[type]} categories list of categories detected on the site
* @param {[type]} options options for the graph
* @param {Array} categories list of categories detected on the site
* @param {Object} options options for the graph
*/
generateGraph(categories, options) {
const {
@@ -22,8 +22,8 @@ import globals from './Globals';

/**
* Enum for reasons returned by shouldBlock
* @type {string}
* TBD: See if we can do with integer values for performance.
* @type {string}
*/
export const BLOCK_REASON_BLOCK_PAUSED = 'BLOCK_REASON_BLOCK_PAUSED';
export const BLOCK_REASON_GLOBAL_BLOCKED = 'BLOCK_REASON_GLOBAL_BLOCKED';
@@ -36,7 +36,7 @@ export const BLOCK_REASON_C2P_ALLOWED_THROUGH = 'BLOCK_REASON_C2P_ALLOWED_THROUG

/**
* Class for handling site policy.
* @memberOf BackgroundClasses
* @memberof BackgroundClasses
* @todo make it a Singelton ???
*/
class Policy {
@@ -155,4 +155,3 @@ class Policy {
}

export default Policy;

ProTip! Use n and p to navigate between commits in a pull request.