Skip to content

Commit

Permalink
Update README.md, CHANGELOG.md and format code
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Aug 4, 2023
1 parent ac54483 commit 4db2d30
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add distribute method using Sling Content Distribution: [#39](https://github.com/orbinson/aem-groovy-console/issues/39)

### Fixed

- Only insert service when searching after pressing <kbd>enter</kbd> when using arrow keys: [#43](https://github.com/orbinson/aem-groovy-console/issues/43)

## [19.0.3] - 2023-02-21

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ project [aem-groovy-console](https://github.com/CID15/aem-groovy-console)
### Manual

1. Download the
console [aem-groovy-console-all](https://github.com/orbinson/aem-groovy-console/releases/download/18.0.0/aem-groovy-console-all-18.0.0.zip)
console [aem-groovy-console-all](https://github.com/orbinson/aem-groovy-console/releases/download/19.0.3/aem-groovy-console-all-19.0.3.zip)
content package and install with [PackMgr](http://localhost:4502/crx/packmgr). For previous versions you can search
on the [Maven Central repository](https://search.maven.org/search?q=a:aem-groovy-console).

Expand Down Expand Up @@ -64,7 +64,7 @@ To deploy the Groovy Console as an embedded package you need to update your `pom
<dependency>
<groupId>be.orbinson.aem</groupId>
<artifactId>aem-groovy-console-all</artifactId>
<version>18.0.0</version>
<version>19.0.3</version>
<type>zip</type>
</dependency>
```
Expand Down
Binary file removed docs/assets/screenshot.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ $(function () {

scriptEditor.navigateFileEnd();

if (scriptEditor.getCursorPosition().column > 0 ) {
if (scriptEditor.getCursorPosition().column > 0) {
scriptEditor.insert('\n\n');
}

if((event.keyCode === 13 || event.which === 13)) {
if ((event.keyCode === 13 || event.which === 13)) {
scriptEditor.insert(declaration);
}
return '';
Expand Down

0 comments on commit 4db2d30

Please sign in to comment.