Skip to content

Commit 4c8f1f4

Browse files
committed
gulped
1 parent bcf1bd4 commit 4c8f1f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/schema-form.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
194194
n.setAttribute('ng-model', modelValue);
195195
} else if (conf === 'replaceAll') {
196196
var attributes = n.attributes;
197-
for (var j = 0; attributes.length; j++) {
197+
for (var j = 0; j < attributes.length; j++) {
198198
if (attributes[j].value && attributes[j].value.indexOf('$$value') !== -1) {
199199
attributes[j].value = attributes[j].value.replace(/\$\$value\$\$/g, modelValue);
200200
}
@@ -742,7 +742,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
742742
attributes `builder` and `replace` are optional, and replace defaults to true.
743743
*/
744744
this.defineDecorator = function(name, fields) {
745-
decorators[name] = {'__name': name}; // TODO: this feels like a hack, come up with a better way. (ES6 Symbols would be a nice fit.)
745+
decorators[name] = {'__name': name}; // TODO: this feels like a hack, come up with a better way.
746746

747747
angular.forEach(fields, function(field, type) {
748748
field.builder = field.builder || [];
@@ -816,7 +816,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
816816
decorator: function(name) {
817817
return decorators[name] || decorators[defaultDecorator];
818818
},
819-
defaultDecorator: defaultDecorator,
819+
defaultDecorator: defaultDecorator
820820
};
821821
};
822822

0 commit comments

Comments
 (0)