Skip to content

Commit

Permalink
Fixed : Work with enabled system setting "compress_js".
Browse files Browse the repository at this point in the history
Version 1.6.1-pl
  • Loading branch information
bezumkin committed Aug 8, 2015
1 parent 25a77b5 commit c1c9cda
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _build/build.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

define('PKG_NAME','Ace');
define('PKG_NAMESPACE','ace');
define('PKG_VERSION','1.6.0');
define('PKG_VERSION','1.6.1');
define('PKG_RELEASE','pl');
define('PKG_AUTO_INSTALL', true);

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions assets/components/ace/modx.texteditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ MODx.ux.Ace = Ext.extend(Ext.ux.Ace, {
MODx.ux.Ace.superclass.initComponent.call(this);
var config = ace.require("ace/config");
var acePath = MODx.config['assets_url'] + 'components/ace/ace';
config.set('basePath', acePath);
config.set('modePath', acePath);
config.set('themePath', acePath);
config.set('workerPath', acePath);
Expand Down
4 changes: 4 additions & 0 deletions core/components/ace/documents/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog for Ace integration into MODx Revolution.

Ace 1.6.1
====================================
- Fixed : Work with enabled system setting "compress_js".

Ace 1.6.0
====================================
- Added: "Smarty" syntax for support of Fenom in chunks.
Expand Down
2 changes: 1 addition & 1 deletion core/components/ace/model/ace/ace.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function __construct(modX &$modx,array $config = array()) {
public function initialize() {
if (!$this->assetsLoaded) {
$this->modx->controller->addLexiconTopic('ace:default');
$this->modx->controller->addJavascript($this->config['assetsUrl'].'ace/ace.js');
$this->modx->controller->addJavascript($this->config['assetsUrl'].'ace/ace.min.js');
$this->modx->controller->addJavascript($this->config['assetsUrl'].'ace/ext-language_tools.js');
$this->modx->controller->addJavascript($this->config['assetsUrl'].'ace/ext-keybinding_menu.js');
$this->modx->controller->addJavascript($this->config['assetsUrl'].'ace/ext-emmet.js');
Expand Down

0 comments on commit c1c9cda

Please sign in to comment.