From 74d56826f2991bdd4ffac3d71765b0634956929b Mon Sep 17 00:00:00 2001 From: MANISH-GIRI Date: Mon, 6 Feb 2017 15:15:54 -0500 Subject: [PATCH] Remove code tags from challenge seed --- .../es6.json | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json b/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json index b3370ed019d..8635a93ef22 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -651,22 +651,10 @@ "id": "587d7b8b367417b2b2512b50", "title": "Enhanced Object Literals : Functions", "description": [ - "With ES6, it's possible to remove the keyword function as follows, from object literals", - "const Container extends Component {", - " render: function() {", - " return {", - " `
Container
`
", - " }", - " }", - "}", + "With ES6, it's possible to remove the keyword function as follows, from object literals:", + "
const Container extends Component {
  render: function() {
    return {
      Container
    }
  }
}
", "We can remove the function keyword and colon (:) altogether - and get this:", - " const Container extends Component {", - " render() {", - " return {", - " `
Container
`", - " }", - " }", - " }", + "
const Container extends Component {
  render() {
    return {
      Container
    }
  }
}
", "Instructions", "Use object literal simplification to create and return a Person object" ], @@ -683,9 +671,9 @@ " }", "}", "/* Alter code above this line */", - "const zod = Person(\"Zodiac Hasbro\", 56, 'male');", - "const yan = Person(\"Yanoshi Mimoto\", 55, 'male');", - "zod.sendFriendRequest(yan);" + "const zod = Person(\"Zodiac Hasbro\", 56, 'male');", + "const yan = Person(\"Yanoshi Mimoto\", 55, 'male');", + "zod.sendFriendRequest(yan);" ], "tests": [ "// Test the output is Sending request to Yanoshi Mimoto",