Skip to content

Commit a5cd1c3

Browse files
committed
fixed issue with uglify - mangle (#10)
1 parent 2281a9a commit a5cd1c3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-json-editor",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"authors": [
55
"Rodik Hanukaev <[email protected]>",
66
"Topaz Bar <[email protected]>"

dist/angular-json-editor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-json-editor",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/rodikh/angular-json-editor.git"

src/angular-json-editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
1414
extendDeep(configuration, options);
1515
};
1616

17-
this.$get = function ($window) {
17+
this.$get = ['$window', function ($window) {
1818
var JSONEditor = $window.JSONEditor;
1919
extendDeep(JSONEditor, configuration);
2020
return $window.JSONEditor;
21-
};
21+
}];
2222

2323
function extendDeep(dst) {
2424
angular.forEach(arguments, function (obj) {

0 commit comments

Comments
 (0)