Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

doesn't define Compose global #13

Closed
wkeese opened this Issue · 1 comment

3 participants

@wkeese

I thought ComposeJS supports just loading the compose.js file, without having an AMD framework. But when I try it in firefox (version 10, beta) or the latest chrome, I get an error about the Compose global being not defined. Test file is:

<html>
    <head>
        <script src="compose.js"></script>
        <script>
            console.log("Compose global is", Compose);
        </script>
    </head>
</html>
@neonstalwart

the problem is that the placement of "use strict"; won't allow for a global to be made.

@kriszyp kriszyp closed this in a4e0b1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.