From 846840de8523883205e7d06955563f13dce91a4f Mon Sep 17 00:00:00 2001 From: kidlingo Date: Tue, 26 Jul 2011 07:30:52 -0700 Subject: [PATCH] Updated Using dojo and dojo class loading in jasmine headless webkit (markdown) --- ...-dojo-and-dojo-class-loading-in-jasmine-headless-webkit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Using-dojo-and-dojo-class-loading-in-jasmine-headless-webkit.md b/Using-dojo-and-dojo-class-loading-in-jasmine-headless-webkit.md index fbf575c..2b181a3 100644 --- a/Using-dojo-and-dojo-class-loading-in-jasmine-headless-webkit.md +++ b/Using-dojo-and-dojo-class-loading-in-jasmine-headless-webkit.md @@ -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.