Skip to content

Commit

Permalink
fixed formatting and build
Browse files Browse the repository at this point in the history
  • Loading branch information
rodikh committed Mar 6, 2017
1 parent 4ef1098 commit 919ec14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions dist/angular-json-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
newVal.then(function (data) {
if (data.data) {
schema = data.data;
}else {
} else {
schema = data;
}
restart();
Expand All @@ -156,7 +156,9 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
return clone;
});

element.append(buttons);
transclude(scope, function (buttons) {
element.append(buttons);
});
});
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-json-editor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/angular-json-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
newVal.then(function (data) {
if (data.data) {
schema = data.data;
}else {
} else {
schema = data;
}
restart();
Expand All @@ -152,8 +152,8 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
var buttons = transclude(scope, function (clone) {
return clone;
});
transclude(scope, function (buttons) {

transclude(scope, function (buttons) {
element.append(buttons);
});
});
Expand Down

0 comments on commit 919ec14

Please sign in to comment.