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

21932-Cleanup-in-Athens-Examples #1387

Conversation

MarcusDenker
Copy link
Member

@@ -14,6 +14,12 @@ Class {
#category : #'Athens-Examples-Demos'
}

{ #category : #'instance creation' }
AthensFlakeDemo class >> open [
<script>

Choose a reason for hiding this comment

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

The example pragma is a better fit when something is actually opened, not just run as a script

@@ -4,9 +4,6 @@ An example from a workshop
Class {

Choose a reason for hiding this comment

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

This class is not referenced anywhere and do not provide a way to see the example showcase. we should either just remove it, provide an open method, or move the example (#drawQuadFrom:via:to:on: canvas) into AthensDemoMorph.

This is what the CurveWorkshop shows

| surface canvas |

surface := AthensCairoSurface extent: 200@200.
canvas := surface newCanvas.

CurveWorkshop new drawOn: canvas.

surface asForm asMorph openInWindow

- remove CurveWorkshop
Copy link

@DraagrenKirneh DraagrenKirneh left a comment

Choose a reason for hiding this comment

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

Looks good

@MarcusDenker MarcusDenker merged commit d1d58f3 into pharo-project:development May 19, 2018
@MarcusDenker MarcusDenker deleted the 21932-Cleanup-in-Athens-Examples branch August 24, 2019 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants