From 3df072f19d7b2487418a900b49ce5d6d9057ab12 Mon Sep 17 00:00:00 2001 From: anivirtoway Date: Tue, 19 Mar 2019 16:19:49 +0300 Subject: [PATCH] add support for angularjs 1.4 --- src/ui-codemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui-codemirror.js b/src/ui-codemirror.js index 480f4f2..fce424e 100644 --- a/src/ui-codemirror.js +++ b/src/ui-codemirror.js @@ -5,7 +5,7 @@ */ angular.module('ui.codemirror', []) .constant('uiCodemirrorConfig', {}) - .directive('uiCodemirror', uiCodemirrorDirective); + .directive('uiCodemirror', ['$timeout', 'uiCodemirrorConfig', uiCodemirrorDirective]); /** * @ngInject