Merge pull request #3245 from jecisc/smalltalk_examples

Add smalltalk samples
This commit is contained in:
Arfon Smith
2016-10-30 12:31:37 -04:00
committed by GitHub
5 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
dependencies
neoJSON: spec
spec
configuration: 'NeoJSON'
with: [ spec
className: 'ConfigurationOfNeoJSON';
version: #stable;
repository: 'http://smalltalkhub.com/mc/SvenVanCaekenberghe/Neo/main' ]

View File

@@ -0,0 +1,8 @@
SystemOrganization addCategory: #ChartJs!
SystemOrganization addCategory: 'ChartJs-Component'!
SystemOrganization addCategory: 'ChartJs-Demo'!
SystemOrganization addCategory: 'ChartJs-Exception'!
SystemOrganization addCategory: 'ChartJs-Library'!
SystemOrganization addCategory: 'ChartJs-Model'!
SystemOrganization addCategory: 'ChartJs-Style'!
SystemOrganization addCategory: 'ChartJs-Types'!

View File

@@ -0,0 +1,9 @@
rendering
renderTitleId: divId on: html
^ html div
id: #title , divId;
class: #aClass;
with: [
html heading
level3;
with: self data title ]

View File

@@ -0,0 +1,11 @@
helpers
installGitFileTree
"GitFileTree is the tool we will use to commit on GitHub."
<script>
Metacello new
baseline: 'FileTree';
repository:
'github://dalehenrich/filetree:pharo' , SystemVersion current dottedMajorMinor
, '_dev/repository';
load: 'Git'

View File

@@ -0,0 +1,3 @@
ChartJs
dataFunction
^ 'bars'