Skip to content

Commit 844ae15

Browse files
committed
clean up after merge
1 parent 7ed5e92 commit 844ae15

File tree

5 files changed

+21
-54
lines changed

5 files changed

+21
-54
lines changed

dist/WHERE_IS_BOOTSTRAP_DECORATOR.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

dist/angular-schema-form.js

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-schema-form
33
* @version 1.0.0-alpha.6
4-
* @date Sat, 14 Jan 2017 14:04:57 GMT
4+
* @date Sat, 14 Jan 2017 15:25:30 GMT
55
* @link https://github.com/json-schema-form/angular-schema-form
66
* @license MIT
77
* Copyright (c) 2014-2017 JSON Schema Form
@@ -2497,6 +2497,12 @@ FIXME: real documentation
24972497
return;
24982498
};
24992499

2500+
// If we have specified a form name, and this model is not within
2501+
// that form, then leave things be.
2502+
if (formName != undefined && scope.ngModel.$$parentForm.$name !== formName) {
2503+
return;
2504+
}
2505+
25002506
if (scope.ngModel && error) {
25012507
if (scope.ngModel.$setDirty) {
25022508
scope.ngModel.$setDirty();
@@ -2920,9 +2926,19 @@ FIXME: real documentation
29202926
};
29212927
var formId = 0;
29222928

2929+
if (!("firstElementChild" in document.createDocumentFragment())) {
2930+
Object.defineProperty(DocumentFragment.prototype, "firstElementChild", {
2931+
get: function get() {
2932+
for (var nodes = this.childNodes, n, i = 0, l = nodes.length; i < l; ++i) {
2933+
if (n = nodes[i], 1 === n.nodeType) return n;
2934+
}return null;
2935+
}
2936+
});
2937+
}
2938+
29232939
var builders = {
29242940
sfField: function sfField(args) {
2925-
args.fieldFrag.firstChild.setAttribute('sf-field', formId);
2941+
args.fieldFrag.firstElementChild.setAttribute('sf-field', formId);
29262942

29272943
// We use a lookup table for easy access to our form.
29282944
args.lookup['f' + formId] = args.form;

dist/angular-schema-form.min.js

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

gulp/tasks/minify.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/services/sf-builder.provider.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,7 @@ export default function(sfPathProvider) {
162162
}
163163

164164
if (items) {
165-
<<<<<<< HEAD:src/services/builder.js
166-
state = angular.copy(args.state);
167-
=======
168165
var state = angular.copy(args.state);
169-
>>>>>>> refs/remotes/origin/feature/webpack-babel:src/services/sf-builder.provider.js
170166
state.keyRedaction = 0;
171167
state.keyRedaction += args.form.key.length + 1;
172168

0 commit comments

Comments
 (0)