Updated Using dojo and dojo class loading in jasmine headless webkit (markdown)
parent
424d7f17d3
commit
846840de85
@ -19,11 +19,11 @@ djConfig = {
|
||||
parseOnLoad: true
|
||||
};
|
||||
|
||||
### the command line:
|
||||
## the command line:
|
||||
|
||||
jasmine-headless-webkit --jasmine-config ./jasmine.yml
|
||||
|
||||
### The problems this solves:
|
||||
## The problems this solves:
|
||||
|
||||
- Dojo classes call dojo.require and dojo,declare, so dojo needs to be a global variable by the time those files are loaded and parsed. Including dojo.js before the general glob pattern seems to ensure that dojo.js is loaded and run before anything after it. Likewise for jQuery.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user