Skip to content

Commit

Permalink
Fix registration of Turbo examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Aug 23, 2023
1 parent e06d397 commit e39829f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
testing
register
| app |
app := (WAAdmin register: self asApplicationAt: '/examples/turbo/multicounter').
app addLibrary: JQDevelopmentLibrary.
"app addLibrary: TurboFileLibrary "

(WAAdmin register: self asApplicationAt: '/examples/turbo/multicounter')
addLibrary: JQDevelopmentLibrary;
preferenceAt: #actionPhaseContinuationClass put: WATurboCallbackProcessingActionContinuation
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
initialization
register

(WAAdmin register: self asApplicationAt: '/examples/turbo/todo')
exceptionHandler: WADebugErrorHandler;
addLibrary: WAExamplesLibrary
addLibrary: WAExamplesLibrary;
preferenceAt: #actionPhaseContinuationClass put: WATurboCallbackProcessingActionContinuation
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ renderContentOn: html
value: todoItem description.
html submitButton
style: 'display:none';
turboCallback: [ self halt. self answer ] ]
turboCallback: [ self answer ] ]

0 comments on commit e39829f

Please sign in to comment.