Skip to content

Commit 86af790

Browse files
committed
Oh no that should not be in there
A left over console.timeEnd
1 parent 09c188e commit 86af790

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/directives/schema-form.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ angular.module('schemaForm')
101101
element[0].appendChild(sfBuilder.build(merged, decorator, slots, lookup));
102102
//compile only children
103103
$compile(element.children())(childScope);
104-
104+
105105
//ok, now that that is done let's set any defaults
106106
if (!scope.options || scope.options.setSchemaDefaults !== false) {
107107
schemaForm.traverseSchema(schema, function(prop, path) {
@@ -115,7 +115,6 @@ angular.module('schemaForm')
115115
}
116116

117117
scope.$emit('sf-render-finished', element);
118-
console.timeEnd('render')
119118
};
120119

121120
var defaultForm = ['*'];
@@ -167,7 +166,7 @@ console.timeEnd('render')
167166
* @return {Any} the result of the expression
168167
*/
169168
scope.evalExpr = function(expression, locals) {
170-
return $scope.$parent.$eval(expression, locals);
169+
return scope.$parent.$eval(expression, locals);
171170
};
172171
}
173172
};

0 commit comments

Comments
 (0)