Login Register

nls

Problems creating one package with dijit.Dialog through custom build

I'm new to Dojo and am trying to create a custom build of everything I need in one package/file. In other words, I want to include one javascript file in my html page that contains all of the necessary code so that additional calls to external files or dependencies are not needed. Besides the dojo base, my only other requirement (at least for the time being) is the dijit.Dialog code base. I have created a custom build using this profile:

dependencies = {
	layers: [
		{
			name: "../mydojo.js",
			dependencies: [
				"dijit.Dialog"
			]
		},
	],

	prefixes: [

Custom Build nls directory 404 errors

Hi,

I am using internationalization on my project with Dojo 0.4.3. I want to know if I can somehow remove all the 404 errors I get from nls directory when it tries to load language files. I think this might be possible in Dojo 0.9+ build using the custom distribution. Is this possible in Dojo 0.4.3?

Thanks.

Build script problem?

Hello, I'm trying to build a custom dojo using this profile:

dependencies = {
        layers: [
                {
                        name: 'dojo.wm.js',
                        dependencies: [
                                'wm.widget.Combo',
                                'wm.widget.TextInput',
                                'wm.widget.DateInput'
                        ]
                }
        ],

        prefixes: [
                [ 'dijit', '../dijit' ],
                [ 'dojox', '../dojox' ],
                [ 'wm', '../../wm' ]
        ]
};

and using this command: build.bat profile=wm action=release localeList="en-us"

Syndicate content