From aa6a46fa3d5e9bcd39341ae8380697e334476ef5 Mon Sep 17 00:00:00 2001 From: Dennis Morello Date: Fri, 6 Jul 2018 15:02:40 +0200 Subject: [PATCH 1/2] Added dependency injection --- src/ui-codemirror.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui-codemirror.js b/src/ui-codemirror.js index 480f4f2..c13c4e1 100644 --- a/src/ui-codemirror.js +++ b/src/ui-codemirror.js @@ -148,3 +148,5 @@ function uiCodemirrorDirective($timeout, uiCodemirrorConfig) { } } + +uiCodemirrorDirective.$inject = ['$timeout', 'uiCodemirrorConfig']; \ No newline at end of file From 8e45f155a6a8c3dbe472d58026a07f19fcb99961 Mon Sep 17 00:00:00 2001 From: Dennis Morello Date: Fri, 6 Jul 2018 15:04:00 +0200 Subject: [PATCH 2/2] 0.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b76a11..42bfdc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-ui-codemirror", - "version": "0.3.0", + "version": "0.3.1", "description": "This directive allows you to add CodeMirror to your textarea elements.", "author": "https://github.com/angular-ui/ui-codemirror/contributors", "license": "MIT",