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

last working version that works with Phaser CE is from August 22, 2016? #32

Open
papayaah opened this issue Apr 16, 2018 · 0 comments
Open

Comments

@papayaah
Copy link

papayaah commented Apr 16, 2018

at this commit, i get this to work with Phaser CE v2.10.2 5a28594#diff-63f0e32da459bffac0edf8f1f427b5be

the issue is context is undefined:

Phaser.Plugin.SlickUI.prototype.getRenderer = function(name) {
    if (void 0 !== this.renderer[name]) return this.renderer[name];
    var theme = this.game.cache.getJSON("slick-ui-theme"), resolveObject = function(name) {
        var namespace = name.split("."), context = window;
        for (var i in namespace)  context = context[namespace[i]];        
        return context;
    };

where it tries to loop through all the namespace and tries to pull it from context[namespace[i]] but context is just a window - is that the expected?

cc @Flaxis

@papayaah papayaah changed the title last working version with Phaser CE is from August 22, 2016? last working version that works with Phaser CE is from August 22, 2016? Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant