From d0abd779507321bad423a81bf19427220134b9d1 Mon Sep 17 00:00:00 2001 From: Zoltan Toth Date: Fri, 1 Mar 2019 11:01:27 -0500 Subject: [PATCH 1/2] Line length fixed --- src/data/patterns.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/patterns.js b/src/data/patterns.js index 3895c07..bbb7350 100644 --- a/src/data/patterns.js +++ b/src/data/patterns.js @@ -235,8 +235,8 @@ export default Person;` id: 'adapter', name: 'Adapter', type: 'structural', - hint: - 'allows classes with incompatible interfaces to work together by wrapping its own interface around that of an already existing class', + hint: `allows classes with incompatible interfaces to work together by wrapping its + own interface around that of an already existing class`, codeES5: `function Soldier(lvl) { this.lvl = lvl; } From 38a50b4caafddf8f1b55da58d8f13035dd2886d8 Mon Sep 17 00:00:00 2001 From: Zoltan Toth Date: Fri, 1 Mar 2019 12:07:37 -0500 Subject: [PATCH 2/2] Add code quality badge to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0291a1a..6177ffd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # JavaScript Design Patterns -[![Build Status](https://travis-ci.org/zoltantothcom/JavaScript-Design-Patterns.svg?branch=master)](https://travis-ci.org/zoltantothcom/JavaScript-Design-Patterns) [![Coverage Status](https://coveralls.io/repos/github/zoltantothcom/JavaScript-Design-Patterns/badge.svg)](https://coveralls.io/github/zoltantothcom/JavaScript-Design-Patterns) [![Greenkeeper badge](https://badges.greenkeeper.io/zoltantothcom/JavaScript-Design-Patterns.svg)](https://greenkeeper.io/) +[![Build Status](https://travis-ci.org/zoltantothcom/JavaScript-Design-Patterns.svg?branch=master)](https://travis-ci.org/zoltantothcom/JavaScript-Design-Patterns) [![Coverage Status](https://coveralls.io/repos/github/zoltantothcom/JavaScript-Design-Patterns/badge.svg)](https://coveralls.io/github/zoltantothcom/JavaScript-Design-Patterns) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5f4e97b771504e23b0b414d2cbc69506)](https://www.codacy.com/app/zoltantothcom/JavaScript-Design-Patterns?utm_source=github.com&utm_medium=referral&utm_content=zoltantothcom/JavaScript-Design-Patterns&utm_campaign=Badge_Grade) [![Greenkeeper badge](https://badges.greenkeeper.io/zoltantothcom/JavaScript-Design-Patterns.svg)](https://greenkeeper.io/) JavaScript Design Patterns - a game to get familiar with the design patterns, test your knowledge or simply for fun.