Skip to content

Commit c5df061

Browse files
author
Vlad Balin
committed
Save record's attributes spec to Type.attributes
1 parent a689605 commit c5df061

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/record/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Record.define = function( protoProps : RecordDefinition = {}, staticProps ){
2525
}
2626

2727
// Compile attributes spec, creating definition mixin.
28-
const dynamicMixin = compile( getAttributes( definition ), <AttributesSpec> baseProto._attributes );
28+
const dynamicMixin = compile( this.attributes = getAttributes( definition ), <AttributesSpec> baseProto._attributes );
2929

3030
// Explicit 'properties' declaration overrides auto-generated attribute properties.
3131
if( definition.properties === false ){

0 commit comments

Comments
 (0)