This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ~ Mini-refactoring challenge 1: Friends & Pets ~ | |
* Courtesy of https://twitter.com/ragunathjawahar | |
* | |
* Instruction | |
* =========== | |
* 1. Copy and paste the contents of this gist into a new file inside any open Kotlin project in your IDE. | |
* 2. Delete it after you're done with the challenge. | |
* | |
* Objective |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<title>JS Bin</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskOptions> | |
<TaskOptions> | |
<option name="arguments" value="-c "./gradlew test && git commit -am working || git reset --hard"" /> | |
<option name="checkSyntaxErrors" value="true" /> | |
<option name="description" /> | |
<option name="exitCodeBehavior" value="ALWAYS" /> | |
<option name="fileExtension" value="kt" /> | |
<option name="immediateSync" value="false" /> | |
<option name="name" value="TCR on changes to Kotlin files" /> | |
<option name="output" value="" /> |