Skip to content

Commit

Permalink
PSContentContainer (fix): Make sure that scripts are not executed wit…
Browse files Browse the repository at this point in the history
…hout a slide
  • Loading branch information
Vincent Opitz committed Jul 26, 2019
1 parent 502a803 commit daa7a57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
scripting API
tryEvaluatingScript: aSymbol withValue: anObject

(self content hasProperty: aSymbol)
ifTrue: [self evaluateScript: aSymbol withValue: anObject]
((self content hasProperty: aSymbol) and: [anObject isNil not])
ifTrue: [self evaluateScript: aSymbol withValue: anObject]
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@
"slideEntered" : "VO 7/22/2019 11:39",
"step" : "VO 7/22/2019 11:39",
"stepTime" : "VO 7/10/2019 13:41",
"tryEvaluatingScript:withValue:" : "VO 7/22/2019 11:38",
"tryEvaluatingScript:withValue:" : "VO 7/26/2019 16:30",
"unselect" : "mb 7/4/2019 16:38",
"updateSelection" : "jb 5/8/2019 18:03" } }

0 comments on commit daa7a57

Please sign in to comment.