You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
Hi guys, first of all I want to say that angular ui ace works really good! Congrats.
Next there is my problem. I want to use the lucene mode in my ui-ace editor. So following the guide, I create <div ui-ace="{ useWrapMode : true, mode: 'lucene' }" ng-model="query.text" style="min-height: 200px;"/> </div>
and before I have inserted the scripts:
`<script type="text/javascript" src="js/ace.js"></script>
Hi guys, first of all I want to say that angular ui ace works really good! Congrats.
<script type="text/javascript" src="js/ui-ace.js"></script> <script type="text/javascript" src="js/mode-lucene.js"></script>`Next there is my problem. I want to use the lucene mode in my ui-ace editor. So following the guide, I create
<div ui-ace="{ useWrapMode : true, mode: 'lucene' }" ng-model="query.text" style="min-height: 200px;"/> </div>
and before I have inserted the scripts:
`<script type="text/javascript" src="js/ace.js"></script>
But there is this problem in the console:
I saw the issue #23 and i follow what was written, so in my mode-lucene.js I have inserted the following line:
window.define = window.define || ace.define;
and in my angular.module.js
ace.config.set("modePath", "./");
but I still had the problem. So I tried with
ace.config.set("modePath", "js/");
and later I tried to insert this line in the directive of the page that uses ui-ace, but nothing.
Any idea? Thanks a lot
The text was updated successfully, but these errors were encountered: