Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit e340d26

Browse files
committed
fix for minified code
1 parent 9b7f7b6 commit e340d26

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
var packageName = 'codelovers:angular-ui-codemirror-all-modes';
33
var where = 'client'; // where to install: 'client' or 'server'. For both, pass nothing.
4-
var version = '0.3.3';
4+
var version = '0.3.4';
55
var summary = 'This directive allows you to add CodeMirror to your textarea elements. Includes all modes';
66
var gitLink = 'https://github.com/hhravn/ui-codemirror';
77
var documentationFile = 'README.md';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-codemirror",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "This directive allows you to add CodeMirror to your textarea elements.",
55
"author": "https://github.com/angular-ui/ui-codemirror/contributors",
66
"license": "MIT",

src/ui-codemirror.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
*/
66
angular.module('ui.codemirror', [])
77
.constant('uiCodemirrorConfig', {})
8-
.directive('uiCodemirror', uiCodemirrorDirective);
8+
.directive('uiCodemirror', ['$timeout', 'uiCodemirrorConfig', uiCodemirrorDirective]);
99

1010
/**
1111
* @ngInject
1212
*/
13-
var uiCodemirrorDirective = ['$timeout', 'uiCodemirrorConfig', function ($timeout, uiCodemirrorConfig) {
13+
function uiCodemirrorDirective($timeout, uiCodemirrorConfig) {
1414

1515
return {
1616
restrict: 'EA',
@@ -147,4 +147,4 @@ var uiCodemirrorDirective = ['$timeout', 'uiCodemirrorConfig', function ($timeou
147147
});
148148
}
149149

150-
}];
150+
}

0 commit comments

Comments
 (0)