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

Uncaught ReferenceError: define is not defined #1

Open
hyphyphyph opened this issue Aug 26, 2011 · 1 comment
Open

Uncaught ReferenceError: define is not defined #1

hyphyphyph opened this issue Aug 26, 2011 · 1 comment

Comments

@hyphyphyph
Copy link

Hi there,

I'm starting to use Dojo for the first time in a while. Trying to use plugd and running into issues. In my head:

<script type="text/javascript" src="/static/dojo/dojo.js" djConfig="parseOnLoad:true"></script> <script type="text/javascript" src="/static/plugd/base.js"></script>

When I refresh the page I get: Uncaught ReferenceError: define is not defined in the console.

I feel like I'm missing something pretty obvious, but I can't seem to discover what it might be. Any help would be awesome !

Thanks.

-=Derek

@phiggins42
Copy link
Owner

the HEAD of plugd was converted to work with the new AMD format coming in 1.7 .. define() is the new provide/require() pattern. Sounds like you are trying to use a too-current plugd against an older dojo ...

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

2 participants