From 396a5e452117f847635bb6958ad2e12e8bdabb97 Mon Sep 17 00:00:00 2001 From: bostondevin Date: Sat, 26 Dec 2015 11:00:58 -0700 Subject: [PATCH] Fix workerPath bug - update to ACE api... workerPath name in ace API is now basePath, causing your version to not accept workerPath any longer, so couldn't load assets because it couldn't find the folder in bower_components... --- src/ui-ace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui-ace.js b/src/ui-ace.js index a664fb1..684c639 100644 --- a/src/ui-ace.js +++ b/src/ui-ace.js @@ -34,7 +34,7 @@ angular.module('ui.ace', []) // or minified source if (angular.isDefined(opts.workerPath)) { var config = window.ace.require('ace/config'); - config.set('workerPath', opts.workerPath); + config.set('basePath', opts.workerPath); } // ace requires loading if (angular.isDefined(opts.require)) {