// Specific hooks for extending Enyo using means other than basic
// _enyo.kind()_-based inheritance

(function(){
	//*@public
	/**
		Provides a stub function for g11n string translation. This allows
		strings to be wrapped in preparation for localization. If a g11n
		library is not loaded, this function will return the string as is.

			$L('Welcome')

		If a compatible g11n library is loaded, this function will be replaced
		by the g11n library's version, which translates wrapped strings to strings
		from a developer-provided resource file corresponding to the current user
		locale.
	*/
	window.$L = function(string) {
		return string;
	};

	//*@protected
	/**
		Enyo controls may register for an `onlocalechange` signal to dynamically update
		their presentation based on changes to the user's locale.

		This feature is currently used in webOS, where Cordova for webOS listens for
		changes to the system locales and fires a `localechange` event on the `document`
		object. Similar functionality could be implemented on other platforms via a
		Cordova plugin or other means.

		Enyo registers an event listener for the `localechange` event and broadcasts
		the `onlocalechange` signal when the locale has changed. Before broadcasting, Enyo
		calls _enyo.updateLocale()_. The default implementation of _enyo.updateLocale()_ is
		a stub, but a g11n library may override it to update its internal state before the
		`onlocalechange` signal is broadcast.

		This feature is not supported on IE8 which doesn't support addEventListener.
	*/
	enyo.updateLocale = function() {
		// This is a stub, to be implemented by a g11n library as needed
	};
	enyo.broadcastLocaleChange = function() {
		enyo.updateLocale();
		enyo.Signals.send("onlocalechange");
	};
	if (document.addEventListener) {
		document.addEventListener("localechange", enyo.broadcastLocaleChange, false);
	}
})();
@@ -1643,78 +1643,8 @@
 ded%0A
-%09%7D;%0A%09enyo.broadcastLocaleChange = function() %7B%0A%09%09enyo.updateLocale();%0A
 %09%09en
@@ -1764,34 +1764,49 @@
 e%22, 
-enyo.broadcastLocaleChange
+function(e) %7B%0A%09%09%09enyo.updateLocale();%0A%09%09%7D
 , fa

Modify enyo.updateLocale so it is the emitter of the onLocaleChange event. Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>