Opened 10 years ago

Last modified 10 years ago

#12104 closed defect

Could not load 'dojo.parser'; last tried './parser.js' in FF.3.6.13 — at Version 1

Reported by: hisaravanankesavan Owned by: James Burke
Priority: high Milestone: tbd
Component: Core Version: 1.5
Keywords: dojo.parser, parser, firefox Cc: [email protected]
Blocked By: Blocking:

Description (last modified by bill)

I have attached a sample HTML file "pathtest.html" to this Ticket.

Below is my deployed folder structure with DOjo framework

C:\test\1\pathtest.html  : where i have the sample html file

I Just added a simple dijit text box to this html file. When i open this file in IE 8 it works good as expected. When i open this in FF.3.6.13 its showing error "Could not load 'dojo.parser'; last tried './parser.js'" in FireBug? COnsole.

This is the way i referenced the Dojo library inside the html file

			djConfig="parseOnLoad: true"

This is the way i referenced the themes

<style type="text/css">
	@import "../../lib/DOJO/dojo/resources/dojo.css";
	@import "../../lib/DOJO/dijit/themes/tundra/tundra.css";

More over i alert the dojo.baseUrl before dojo.require("dojo.parser"); to know whats the base Url, in that case it alerts the base url as "../../lib/DOJO/dojo/' which is correct.

As this is a simple one i did not set the baseUrl in the html file Is there i need to do specific for firefox. I

Dojo version : dojo_1_5_0_003
Browser : FireFox.3.6.13, 3.5.x

Change History (2)

Changed 10 years ago by hisaravanankesavan

Attachment: pathtest.html added

comment:1 Changed 10 years ago by bill

Component: ParserCore
Description: modified (diff)
Owner: changed from bill to James Burke

I'm not sure if we even support loading from the file system anymore, but passing to James. I think this is an issue with the loader rather than with the parser.

Did this problem start showing up recently, after the AMD refactor? Does your code work correctly on the 1.5 release?

Note: See TracTickets for help on using tickets.