-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from ba-st/improve-temporary-disable
Improved behavior for temorarily disabling command.
- Loading branch information
Showing
8 changed files
with
132 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Class { | ||
#name : #WillowJavascriptTest, | ||
#superclass : #JSObjectTest, | ||
#category : #'Willow-Tests-WebInteraction' | ||
} | ||
|
||
{ #category : #tests } | ||
WillowJavascriptTest >> testJSConcatenateBefore [ | ||
|
||
| jsObject | | ||
|
||
jsObject := ( ( JSStream this alias: 'theVariable' ) call: 'doIt' ) | ||
addDecoration: ( JSConcatenateBefore on: ( JSStream this assignTo: 'theVariable' ) ). | ||
|
||
self assert: jsObject equals: 'theVariable=this;theVariable.doIt()' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Class { | ||
#name : #JSConcatenateBefore, | ||
#superclass : #JSStatement, | ||
#category : #'Willow-WebInteraction' | ||
} | ||
|
||
{ #category : #printing } | ||
JSConcatenateBefore >> javascriptContentOn: aStream [ | ||
|
||
aStream | ||
javascript: self statement; | ||
nextPut: $;. | ||
super javascriptContentOn: aStream | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters