Skip to content

Commit

Permalink
chore(types) Remove jsdoc types, update author
Browse files Browse the repository at this point in the history
  • Loading branch information
berndartmueller committed Aug 15, 2020
1 parent e8621e7 commit fa0d60c
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 242 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Naotoshi Fujita
Copyright (c) 2020 Bernd Artmüller

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
2 changes: 0 additions & 2 deletions src/components/controller/controller.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { BaseComponent } from './../base-component';
export default class ControllerComponent implements BaseComponent {
/**
* True if the slide is LOOP mode.
*
* @type {boolean}
*/
private isLoop: boolean = true;

Expand Down
2 changes: 0 additions & 2 deletions src/components/layout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import VirtualComponent from '../virtual/virtual.component';

/**
* Interval time for throttle.
*
* @type {number}
*/
const THROTTLE = 100;

Expand Down
4 changes: 0 additions & 4 deletions src/components/track/directions/horizontal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ import { BaseLayout } from '../../layout/index';
export class HorizontalDirection {
/**
* Axis of translate.
*
* @type {string}
*/
public axis: 'X' | 'Y' = 'X';

/**
* Sign for the direction.
*
* @type {number}
*/
public sign: number = -1;

Expand Down
19 changes: 0 additions & 19 deletions src/constants/a11y.ts
Original file line number Diff line number Diff line change
@@ -1,48 +1,29 @@
/**
* Export aria attribute names.
*
* @author Naotoshi Fujita
* @copyright Naotoshi Fujita. All rights reserved.
*/

/**
* Attribute name for aria-current.
*
* @type {string}
*/
export const ARIA_CURRENRT = 'aria-current';

/**
* Attribute name for aria-control.
*
* @type {string}
*/
export const ARIA_CONTROLS = 'aria-controls';

/**
* Attribute name for aria-control.
*
* @type {string}
*/
export const ARIA_LABEL = 'aria-label';

/**
* Attribute name for aria-labelledby.
*
* @type {string}
*/
export const ARIA_LABELLEDBY = 'aria-labelledby';

/**
* Attribute name for aria-hidden.
*
* @type {string}
*/
export const ARIA_HIDDEN = 'aria-hidden';

/**
* Attribute name for tab-index.
*
* @type {string}
*/
export const TAB_INDEX = 'tabindex';
13 changes: 0 additions & 13 deletions src/constants/classes.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
/**
* Export class names.
*
* @author Naotoshi Fujita
* @copyright Naotoshi Fujita. All rights reserved.
*/

/**
* A root class name.
*
* @type {string}
*/
const ROOT = 'vswiper';

/**
* The definition table of all classes for elements.
* They might be modified by options.
*
* @type {Object}
*/
export const ELEMENT_CLASSES = {
root: ROOT,
Expand Down Expand Up @@ -44,8 +33,6 @@ export const ELEMENT_CLASSES = {

/**
* Definitions of status classes.
*
* @type {Object}
*/
export const STATUS_CLASSES = {
active: 'is-active',
Expand Down
Loading

0 comments on commit fa0d60c

Please sign in to comment.