Skip to content

Commit 173eff4

Browse files
authored
Update index.js
1 parent 92e5708 commit 173eff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Typings/Scene/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class Scene {
1010
}
1111

1212
translate(data, meta) {
13+
Object.assign(this, yaml.load(meta));
14+
1315
let stuff = data.split("--- !u");
1416
stuff.shift();
1517

0 commit comments

Comments
 (0)