Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First PR! Started adding structure for the reddit object implementation #1

Merged
merged 4 commits into from
Apr 30, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions draw/reddit.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Provides the reddit class

class reddit{
Copy link
Member

@bkonyi bkonyi Apr 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at this page here for documentation styling: https://www.dartlang.org/guides/language/effective-dart/documentation. If we do it right, dartdoc automatically generates documentation pages when we upload the library to pub!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be sure to run dartfmt and analyzer on your code before submitting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, following was the output for dart analyser:
$ Analyzing [reddit.dart]...
$ No issues found


//Reddit Constructor
reddit(){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typical style for Dart looks like this:

if (foo) {
  // Note the space between the closing paren and opening brace.
}


}
}