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
ivName := 'anIVNameImPrettySureNobodyUses'. | |
all := Smalltalk allClasses flatCollect: [ :e | { e . e class } ]. | |
candidates := all reject: [ :e | e superclass isNil or: [e layout slotScope isKindOf: LayoutEmptyScope ] ]. | |
toRebuild := candidates reject: [ :e | e superclass layout slotScope == e layout slotScope parentScope ]. | |
toRebuild do: [ :e | e addInstVarNamed: ivName ]. | |
toRebuild do: [ :e | | |
(e isClassSide |
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
mkdir marina | |
cd marina | |
wget "https://ci.inria.fr/pharo-contribution/job/marina/PHARO=30,VERSION=development,VM=vm/lastSuccessfulBuild/artifact/Marina.zip" | |
wget -O- get.pharo.org/vm | bash | |
git clone https://github.com/tide-framework/marina.git | |
cd marina | |
git submodule init | |
git submodule update | |
bower install | |
cd tide |
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
renderChartOn: html | |
| graphId graph | | |
graphId := html nextId. | |
html div class: 'chart'; id: graphId. | |
graph := Rickshaw graph element: graphId. | |
graph width: 300. | |
graph height: 200. | |
graph addSerieNamed: 'Demo' color: 'steelblue' elements: { 0 @ 40. 1 @ 49. 2 @ 38. 3 @ 30. 4 @ 32 }. | |
html document addLoadScript: graph |
NewerOlder