alaingilbert / Turntable-API

Allows you to create bots for turntable.fm
http://alaingilbert.github.com/Turntable-API/
MIT License
318 stars 97 forks source link

New Examples #176

Closed ghost closed 11 years ago

ghost commented 11 years ago

Added Examples for: Autosnag, Auto DJ Bot, and Manual DJ Bot

This will benefit everyone, even new bot makers that need these features.

:)

alaingilbert commented 11 years ago

I can't merge it. Your code is not following the project programming style.

For example, the indentation of your code vary between 0, 1, 2 or 3 spaces. It should be all 2 spaces indented.

The functions, and conditions should have a space around the parenthesis. Example: function (...) {} or if (...) {}

Your variables should be camelCase. Example: getdownaftersong become getDownAfterSong

This kind of conditions shouldn't exists. if (imdjing == true) { it should be: if (imDjing) {

ghost commented 11 years ago

ok, thanks. I am fixing it now and I will post a fixed pull request soon.