Skip to content

Commit 919ec14

Browse files
committed
fixed formatting and build
1 parent 4ef1098 commit 919ec14

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

dist/angular-json-editor.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
143143
newVal.then(function (data) {
144144
if (data.data) {
145145
schema = data.data;
146-
}else {
146+
} else {
147147
schema = data;
148148
}
149149
restart();
@@ -156,7 +156,9 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
156156
return clone;
157157
});
158158

159-
element.append(buttons);
159+
transclude(scope, function (buttons) {
160+
element.append(buttons);
161+
});
160162
});
161163
}
162164
};

dist/angular-json-editor.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/angular-json-editor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
140140
newVal.then(function (data) {
141141
if (data.data) {
142142
schema = data.data;
143-
}else {
143+
} else {
144144
schema = data;
145145
}
146146
restart();
@@ -152,8 +152,8 @@ angular.module('angular-json-editor', []).provider('JSONEditor', function () {
152152
var buttons = transclude(scope, function (clone) {
153153
return clone;
154154
});
155-
156-
transclude(scope, function (buttons) {
155+
156+
transclude(scope, function (buttons) {
157157
element.append(buttons);
158158
});
159159
});

0 commit comments

Comments
 (0)