btfou

resetting esri/nls/jsapi (esriBundle)

Discussion created by btfou on Jan 10, 2014
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.

Outcomes