diff --git a/HISTORY.md b/HISTORY.md index fa857961..fcd03433 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,7 @@ ### 2019-01-09 * Morphic: recognize data sets in dropped text files (csv, json) +* Lists: updated list documentation, enabled table support by default ### 2019-01-09 * Store: tweaked format for serializing atomic data lists diff --git a/snap.html b/snap.html index a29de763..88faf3d5 100755 --- a/snap.html +++ b/snap.html @@ -11,7 +11,7 @@ - + diff --git a/src/lists.js b/src/lists.js index 3eb30b86..ad207dd3 100644 --- a/src/lists.js +++ b/src/lists.js @@ -62,7 +62,7 @@ CellMorph, ArrowMorph, MenuMorph, snapEquals, Morph, isNil, localize, isString, MorphicPreferences, TableDialogMorph, SpriteBubbleMorph, SpeechBubbleMorph, TableFrameMorph, TableMorph, Variable, isSnapObject*/ -modules.lists = '2019-January-09'; +modules.lists = '2019-January-10'; var List; var ListWatcherMorph; @@ -102,6 +102,7 @@ var ListWatcherMorph; itemsArray() - answer a JavaScript array shallow copy of myself asText() - answer my elements (recursively) concatenated asCSV() - answer a csv-formatted String of myself + asJSON() - answer a json-formatted String of myself */ // List instance creation: @@ -117,7 +118,7 @@ function List(array) { // List global preferences -List.prototype.enableTables = false; // default, to not confuse NYC teachers +List.prototype.enableTables = true; // List printing