Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 5, 2017
1 parent 60169f2 commit 9f636cc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ export const REDOC_DIRECTIVES = [

export { ApiInfo, ApiLogo, JsonSchema, JsonSchemaLazy, ParamsList, RequestSamples, ResponsesList,
ResponsesSamples, SchemaSample, SideMenu, OperationsList, Operation, Warnings, Redoc, SecurityDefinitions,
LoadingBar, SideMenuItems, ExternalDocs, EndpointLink }
LoadingBar, SideMenuItems, ExternalDocs, EndpointLink };
2 changes: 1 addition & 1 deletion lib/services/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class MenuService {
if (namespace === 'section') {
searchId = hash;
} else {
searchId = ptr || (namespace + '/' + sectionId);;
searchId = ptr || (namespace + '/' + sectionId);
}

idx = this.flatItems.findIndex(item => item.id === searchId);
Expand Down
2 changes: 1 addition & 1 deletion lib/services/schema-normalizer.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
import { SchemaNormalizer } from './schema-normalizer.service';
import { SpecManager } from '../utils/spec-manager';;
import { SpecManager } from '../utils/spec-manager';
import { OptionsService } from '../services/options.service';


Expand Down
2 changes: 1 addition & 1 deletion lib/utils/md-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class MdRenderer {
} else {
let content = tokens[idx + 1].content;
if (tokens[idx].hLevel === 1 ) {
this.currentTopHeading = this.saveHeading(content);;
this.currentTopHeading = this.saveHeading(content);
let id = this.currentTopHeading.id;
return `<h${tokens[idx].hLevel} section="section/${id}">` +
`<a class="share-link" href="#section/${id}"></a>` +
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/swagger-typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export interface RedocInjectedPointer {
}


export interface SwaggerOperation extends Operation, RedocInjectedPointer {};
export interface SwaggerOperation extends Operation, RedocInjectedPointer {}
export interface SwaggerBodyParameter extends BodyParameter, RedocInjectedPointer {}
export interface SwaggerHeaderParameter extends HeaderParameter, RedocInjectedPointer {}
export interface SwaggerQueryParameter extends QueryParameter, RedocInjectedPointer {}
export interface SwaggerFormDataParameter extends FormDataParameter, RedocInjectedPointer {}
export type SwaggerParameter = SwaggerBodyParameter | SwaggerHeaderParameter | SwaggerQueryParameter | SwaggerFormDataParameter;
export interface SwaggerSchema extends Schema, RedocInjectedPointer {};
export interface SwaggerSchema extends Schema, RedocInjectedPointer {}
export { Spec as SwaggerSpec, Response as SwaggerResponse };

0 comments on commit 9f636cc

Please sign in to comment.