Select to view content in your preferred language

ESRI Javascript API 3.3

5545
33
01-03-2013 09:56 AM
KevinMacLeod1
Frequent Contributor
Hi all, It looks like the ESRI API for Javascript 3.3 is about to come out. The templates reference it. I was wondering if anyone knows roughly when it will come out or what is new? New Dojo version?
0 Kudos
33 Replies
KevinMacLeod1
Frequent Contributor
the website will take some getting used to, but I like the look and feel of it so far. Looking forward to seeing the full list of enhancements and bug fixes.


Hm. The website has been "mobilified". For touch navigation on mobile devices I suppose the interface is good.

axxl et al what do you think the best new things are with the new Dojo? Will you do anything new now that leverages the new Dojo? Just curious, thanks.
0 Kudos
DawenXie
Regular Contributor
I normally don't resist new stuff, but the the website coule be better.

My main complaint is that the search option in the "API Reference" is not available any more. Second, the codes example does not wrap into multiple lines. (We need to scroll from left to right all the time if I want to read the sample codes online.) Finally, the display for some pages seems to have problem, for example:

http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_esri/esri.request  (the content is not shown in the table, this happens in Firefox and Chrome.)

the website will take some getting used to, but I like the look and feel of it so far. Looking forward to seeing the full list of enhancements and bug fixes.
0 Kudos
KevinMacLeod1
Frequent Contributor
dawenx you're right, I don't see a Search anywhere either. This should be added back.

FYI I loaded that page fine in FF 17.
0 Kudos
JeffPace
MVP Alum
Ok that is bad.  Does anyone develop on a phone? No you develop on the desktop.  Why on earth would you style the API for mobile.

Sorry, just disagree with the styling choice on this one.

I am not sure this is primetime yet.  Anyone else getting

dojo.io.script error

Error: Unauthorized access


on dijit/form/TextBox
0 Kudos
DawenXie
Regular Contributor
I'm using FF 17 as well, the specific example I gave looks right on the top, but you will see the problem if you scroll down. I checked it on Windows 7 and Ubuntu 12.04. 

dawenx you're right, I don't see a Search anywhere either. This should be added back.

FYI I loaded that page fine in FF 17.
0 Kudos
MarkHoover
Frequent Contributor
The Samples no longer take you first to the source code, but rather straight to the live application.  While I can still get to the Source, of course, this is a bit annoying.  It even still says on the bottom of the Sample Page:

"These samples demonstrate how to use various features in the ArcGIS API for JavaScript. Each sample page contains a description of what happens in the sample, the source code and links to view the sample live or download as a .zip file. Watch a video that shows how you can copy the code from the samples to run them on your machine."

Despite this currently not being true.
0 Kudos
ReneRubalcava
Esri Frequent Contributor
One thing in 1.8 I want to give a try is the router for single page apps. Could be interesting.
0 Kudos
AdrianMarsden
Honored Contributor
😞 Big time breakage on 3.3 for my site I am doing - loads of parser errors - example -


dojo/parser::parse() error
TypeError
  • arguments: Array[2]
  • get message: function () { [native code] }
  • get stack: function () { [native code] }
  • set message: function () { [native code] }
  • set stack: function () { [native code] }
  • type: "non_object_property_call"
  • __proto__: Error


I'm sure I'll find out soon what is going on.

Edit - Ah - is listed as a breaking change

Using lang="en" can break apps that use when using layout dijits and data-dojo-config(or dojoConfig) locale or extraLocale is not set. The recommended fix is to set locale or extraLocale on data-dojo-config or remove the lang="en" attribute. The specific error seen when this is an issue is "dojo/parser::parse() error TypeError" in Chrome and "TypeError: _72f(...) is undefined" in Firefox. More information is available in the Dojo bug tracker:http://trac.dojotoolkit.org/ticket/15630#comment:7 http://trac.dojotoolkit.org/ticket/15768#comment:6
0 Kudos
derekswingley1
Deactivated User
The Samples no longer take you first to the source code, but rather straight to the live application.  While I can still get to the Source, of course, this is a bit annoying.  It even still says on the bottom of the Sample Page:

"These samples demonstrate how to use various features in the ArcGIS API for JavaScript. Each sample page contains a description of what happens in the sample, the source code and links to view the sample live or download as a .zip file. Watch a video that shows how you can copy the code from the samples to run them on your machine."

Despite this currently not being true.


I've changed this�?? thumbnails now take you to the description page instead of the live sample.
0 Kudos
MarkHoover
Frequent Contributor
Brilliant, thanks for the quick action, Derek.
0 Kudos