Skip to content

Commit 89aacb0

Browse files
committed
Fix the log
1 parent e444d4e commit 89aacb0

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

can-component.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,13 +495,8 @@ var Component = Construct.extend(
495495

496496
//!steal-remove-start
497497
if (process.env.NODE_ENV !== 'production') {
498-
Object.defineProperty(setupFn, "name",{
499-
value: "render <"+this.tag+">",
500-
configurable: true
501-
});
502-
503498
setupFn = queues.runAsTask(setupFn, function(el, componentTagData) {
504-
return ["Rendering", el, "with",el, componentTagData.viewModel];
499+
return ["Constructing", el, "with viewModel",componentTagData.viewModel];
505500
});
506501
}
507502
//!steal-remove-end

test/component-can-bind-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ testHelpers.dev.devOnlyTest("logStack should include `new Component()` mutations
8888

8989
new ComponentConstructor({
9090
viewModel : {
91-
foo: value.bind(this,"bar")
91+
foo: "bar"
9292
}
9393
});
9494
});

0 commit comments

Comments
 (0)