Skip to content

Commit f3cadc6

Browse files
committed
Removed some logging
And commented out the deprecation notice. A bit too early for it.
1 parent 696c882 commit f3cadc6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/services/builder.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
3434
}
3535
} else {
3636
// Another builder, i.e. array has overriden the modelValue
37-
console.log('overriding modelValue');
3837
modelValue = args.state.modelValue;
3938
}
4039

@@ -66,7 +65,6 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
6665
}
6766
},
6867
simpleTransclusion: function(args) {
69-
console.warn('doing simple transclusion', args);
7068
var children = args.build(args.form.items, args.path + '.items', args.state);
7169
args.fieldFrag.firstChild.appendChild(children);
7270
},
@@ -187,7 +185,6 @@ angular.module('schemaForm').provider('sfBuilder', ['sfPathProvider', function(s
187185
* Builds a form from a canonical form definition
188186
*/
189187
build: function(form, decorator, slots) {
190-
console.log('Buidling with form', form)
191188
return build(form, decorator, function(url) {
192189
return $templateCache.get(url);
193190
}, slots);

src/services/decorators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',
373373
* @param {Object} templates, an object that maps "type" => "templateUrl"
374374
*/
375375
this.createDecorator = function(name, templates) {
376-
console.warn('schemaFormDecorators.createDecorator is DEPRECATED, use defineDecorator instead.');
376+
//console.warn('schemaFormDecorators.createDecorator is DEPRECATED, use defineDecorator instead.');
377377
decorators[name] = {'__name': name};
378378

379379
angular.forEach(templates, function(url, type) {

0 commit comments

Comments
 (0)