Skip to content

Commit

Permalink
remove window variable(vue-scene)
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Sep 16, 2018
1 parent 27d1a76 commit 1507eb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/vue-scene/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-scene",
"version": "0.1.2",
"version": "0.1.3",
"main": "dist/common/index.js",
"module": "dist/esm/index.js",
"sideEffects": false,
Expand Down
3 changes: 0 additions & 3 deletions packages/vue-scene/src/vue-scene/SceneItemInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ export class SceneItemInterface extends Vue {
if (this.time !== -1 && (this.autoplay === false || this.item.getPlayState() === 'paused')) {
this.item.setTime(this.time);
}
if (this.item instanceof Scene) {
(window as any).s = this.item;
}
}
protected beforeDestroy() {
this.item.off();
Expand Down

0 comments on commit 1507eb1

Please sign in to comment.