|
15 | 15 | // (https://github.com/walterbender/turtleart), but implemented from |
16 | 16 | // scratch. -- Walter Bender, October 2014. |
17 | 17 |
|
18 | | - |
19 | 18 | const _THIS_IS_MUSIC_BLOCKS_ = false; |
| 19 | +const _THIS_IS_TURTLE_BLOCKS_ = !_THIS_IS_MUSIC_BLOCKS_; |
20 | 20 |
|
21 | 21 |
|
22 | 22 | function facebookInit() { |
@@ -129,7 +129,7 @@ define(MYDEFINES, function (compatibility) { |
129 | 129 | var pasteContainer = null; |
130 | 130 | var pasteImage = null; |
131 | 131 | var chartBitmap = null; |
132 | | - if (!_THIS_IS_MUSIC_BLOCKS_) { |
| 132 | + if (_THIS_IS_TURTLE_BLOCKS_) { |
133 | 133 | var saveBox; |
134 | 134 | } |
135 | 135 |
|
@@ -690,7 +690,7 @@ define(MYDEFINES, function (compatibility) { |
690 | 690 | .setRefreshCanvas(refreshCanvas) |
691 | 691 | .setClear(sendAllToTrash); |
692 | 692 |
|
693 | | - if (!_THIS_IS_MUSIC_BLOCKS_) { |
| 693 | + if (_THIS_IS_TURTLE_BLOCKS_) { |
694 | 694 | saveBox = new SaveBox(); |
695 | 695 | saveBox |
696 | 696 | .setCanvas(canvas) |
@@ -1905,11 +1905,8 @@ define(MYDEFINES, function (compatibility) { |
1905 | 1905 |
|
1906 | 1906 | // Hides the loading animation and unhides the background. |
1907 | 1907 | function showContents(){ |
1908 | | - if (!_THIS_IS_MUSIC_BLOCKS_) { |
1909 | | - docById('loading-image-container').style.display = 'none'; |
1910 | | - } |
1911 | | - |
1912 | | - docById('canvas').style.display = 'none'; |
| 1908 | + docById('loading-image-container').style.display = 'none'; |
| 1909 | + // docById('canvas').style.display = 'none'; |
1913 | 1910 | docById('hideContents').style.display = 'block'; |
1914 | 1911 | }; |
1915 | 1912 |
|
|
0 commit comments