Skip to content

Commit d6141e8

Browse files
author
neurodynamic
committed
aligns comments in Main.elm better
1 parent 2975208 commit d6141e8

File tree

2 files changed

+49
-42
lines changed

2 files changed

+49
-42
lines changed

elm/Main.elm

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ init flags =
5656
in
5757
( { bugCount = 1
5858
, randomNumbers = randomNumbers
59-
6059
, stage = Intro
61-
-- , stage = DummyData.chooseFileStage
6260

63-
-- , stage = DummyData.gotFileStage
61+
-- , stage = DummyData.chooseFileStage
62+
-- , stage = DummyData.gotFileStage
6463
-- , stage = DummyData.debuggingStageStepsPage randomNumbers
6564
-- , stage = DummyData.debuggingStageIDontSeeAnyErrorsPage randomNumbers
6665
-- , stage = DummyData.debuggingStageBugHintsTab randomNumbers

elm/Main.js

Lines changed: 47 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -12031,6 +12031,10 @@ var $author$project$Utils$Types$FilePath$nameOnly = function (_v0) {
1203112031
$elm$core$List$reverse(
1203212032
A2($elm$core$String$split, '/', string))));
1203312033
};
12034+
var $mdgriffith$elm_ui$Internal$Model$Px = function (a) {
12035+
return {$: 'Px', a: a};
12036+
};
12037+
var $mdgriffith$elm_ui$Element$px = $mdgriffith$elm_ui$Internal$Model$Px;
1203412038
var $mdgriffith$elm_ui$Internal$Model$AsRow = {$: 'AsRow'};
1203512039
var $mdgriffith$elm_ui$Internal$Model$asRow = $mdgriffith$elm_ui$Internal$Model$AsRow;
1203612040
var $mdgriffith$elm_ui$Element$row = F2(
@@ -13006,40 +13010,6 @@ var $author$project$Stages$ChooseFile$View$render = function (_v0) {
1300613010
[
1300713011
A2(
1300813012
$mdgriffith$elm_ui$Element$column,
13009-
_List_fromArray(
13010-
[
13011-
$mdgriffith$elm_ui$Element$spacing(20)
13012-
]),
13013-
_List_fromArray(
13014-
[
13015-
A2(
13016-
$mdgriffith$elm_ui$Element$paragraph,
13017-
_List_Nil,
13018-
_List_fromArray(
13019-
[
13020-
$mdgriffith$elm_ui$Element$text('How many bugs should I put in your chosen file? ')
13021-
])),
13022-
A2(
13023-
$mdgriffith$elm_ui$Element$Input$text,
13024-
_List_fromArray(
13025-
[
13026-
$mdgriffith$elm_ui$Element$htmlAttribute(
13027-
$elm$html$Html$Attributes$type_('number')),
13028-
$mdgriffith$elm_ui$Element$htmlAttribute(
13029-
$elm$html$Html$Attributes$min('1')),
13030-
$mdgriffith$elm_ui$Element$width(
13031-
A2($mdgriffith$elm_ui$Element$maximum, 90, $mdgriffith$elm_ui$Element$fill)),
13032-
$mdgriffith$elm_ui$Element$centerX
13033-
]),
13034-
{
13035-
label: $mdgriffith$elm_ui$Element$Input$labelHidden('the number of bugs you\'d like to try debugging'),
13036-
onChange: $author$project$Stages$ChooseFile$Msg$UpdateBugCount,
13037-
placeholder: $elm$core$Maybe$Nothing,
13038-
text: $elm$core$String$fromInt(bugCount)
13039-
})
13040-
])),
13041-
A2(
13042-
$mdgriffith$elm_ui$Element$column,
1304313013
_List_fromArray(
1304413014
[
1304513015
$mdgriffith$elm_ui$Element$spacing(25),
@@ -13082,7 +13052,49 @@ var $author$project$Stages$ChooseFile$View$render = function (_v0) {
1308213052
{msg: $author$project$Stages$ChooseFile$Msg$ChooseFile, name: fileSelectLabel})
1308313053
]))
1308413054
])),
13085-
startButton
13055+
A2(
13056+
$mdgriffith$elm_ui$Element$column,
13057+
_List_fromArray(
13058+
[
13059+
$mdgriffith$elm_ui$Element$spacing(20)
13060+
]),
13061+
_List_fromArray(
13062+
[
13063+
A2(
13064+
$mdgriffith$elm_ui$Element$paragraph,
13065+
_List_Nil,
13066+
_List_fromArray(
13067+
[
13068+
$mdgriffith$elm_ui$Element$text('How many bugs should I put in the file? ')
13069+
])),
13070+
A2(
13071+
$mdgriffith$elm_ui$Element$Input$text,
13072+
_List_fromArray(
13073+
[
13074+
$mdgriffith$elm_ui$Element$htmlAttribute(
13075+
$elm$html$Html$Attributes$type_('number')),
13076+
$mdgriffith$elm_ui$Element$htmlAttribute(
13077+
$elm$html$Html$Attributes$min('1')),
13078+
$mdgriffith$elm_ui$Element$width(
13079+
A2($mdgriffith$elm_ui$Element$maximum, 90, $mdgriffith$elm_ui$Element$fill)),
13080+
$mdgriffith$elm_ui$Element$centerX
13081+
]),
13082+
{
13083+
label: $mdgriffith$elm_ui$Element$Input$labelHidden('the number of bugs you\'d like to try debugging'),
13084+
onChange: $author$project$Stages$ChooseFile$Msg$UpdateBugCount,
13085+
placeholder: $elm$core$Maybe$Nothing,
13086+
text: $elm$core$String$fromInt(bugCount)
13087+
})
13088+
])),
13089+
A2(
13090+
$mdgriffith$elm_ui$Element$el,
13091+
_List_fromArray(
13092+
[
13093+
$mdgriffith$elm_ui$Element$height(
13094+
$mdgriffith$elm_ui$Element$px(60)),
13095+
$mdgriffith$elm_ui$Element$centerX
13096+
]),
13097+
startButton)
1308613098
])));
1308713099
};
1308813100
var $author$project$Stages$Debugging$Model$BugHints = {$: 'BugHints'};
@@ -13139,10 +13151,6 @@ var $author$project$Stages$Debugging$Msg$ShowBugLineHint = function (a) {
1313913151
var $author$project$Stages$Debugging$Msg$ShowBugTypeHint = function (a) {
1314013152
return {$: 'ShowBugTypeHint', a: a};
1314113153
};
13142-
var $mdgriffith$elm_ui$Internal$Model$Px = function (a) {
13143-
return {$: 'Px', a: a};
13144-
};
13145-
var $mdgriffith$elm_ui$Element$px = $mdgriffith$elm_ui$Internal$Model$Px;
1314613154
var $elm$core$Basics$modBy = _Basics_modBy;
1314713155
var $author$project$Utils$String$isEven = function (integer) {
1314813156
return !A2($elm$core$Basics$modBy, 2, integer);

0 commit comments

Comments
 (0)