resetting esri/nls/jsapi (esriBundle)

253
0
01-10-2014 08:36 AM
BenFousek
Occasional Contributor III
Is there a simple way to just reset esriBundle? After reassigning values, and after say the draw operation is complete, I reset with a helper function like:
var s = esriBundle.toolbars.draw;
s.addPoint = "Click to add a point";
s.freehand = "Press down to start and let go to finish";
//and so on

Because esri/nls/jsapi isn't a constructor it can't just be recreated. So is there an easier way?

Side note to Derek Swingley: Perhaps the Default API Configurations and Default API Strings docs can also added to the reference. I see why they're in Working with the API, but at the same time both are of reference in nature.
0 Kudos
0 Replies