Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed completions for VS Code #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"phaser": true
},
"settings": {
"import/core-modules": ["phaser", "pixi", "p2"]
"import/core-modules": ["phaser-ce", "pixi", "p2"]
}
}
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'pixi'
import 'p2'
import Phaser from 'phaser'
import Phaser from 'phaser-ce'

import BootState from './states/Boot'
import SplashState from './states/Splash'
Expand Down
2 changes: 1 addition & 1 deletion src/sprites/Mushroom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Phaser from 'phaser'
import Phaser from 'phaser-ce'

export default class extends Phaser.Sprite {
constructor ({ game, x, y, asset }) {
Expand Down
2 changes: 1 addition & 1 deletion src/states/Boot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Phaser from 'phaser'
import Phaser from 'phaser-ce'
import WebFont from 'webfontloader'

export default class extends Phaser.State {
Expand Down
2 changes: 1 addition & 1 deletion src/states/Game.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* globals __DEV__ */
import Phaser from 'phaser'
import Phaser from 'phaser-ce'
import Mushroom from '../sprites/Mushroom'

export default class extends Phaser.State {
Expand Down
2 changes: 1 addition & 1 deletion src/states/Splash.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Phaser from 'phaser'
import Phaser from 'phaser-ce'
import { centerGameObjects } from '../utils'

export default class extends Phaser.State {
Expand Down