Upgrade jquery.i18n library from v1.0.2 to v1.0.3

Change-Id: Ia1d346f38180a11602bbac66755cb36f98b98948
This commit is contained in:
James D. Forrester
2015-07-07 16:36:14 -07:00
parent c3322ba830
commit 05dd11fcb0
13 changed files with 1334 additions and 396 deletions

View File

@@ -88,7 +88,7 @@
* @param locale
* @param messages
*/
set: function( locale, messages ) {
set: function ( locale, messages ) {
if ( !this.messages[locale] ) {
this.messages[locale] = messages;
} else {
@@ -107,7 +107,6 @@
}
};
function jsonMessageLoader( url ) {
var deferred = $.Deferred();
@@ -117,7 +116,7 @@
$.i18n.log( 'Error in loading messages from ' + url + ' Exception: ' + exception );
// Ignore 404 exception, because we are handling fallabacks explicitly
deferred.resolve();
} );
} );
return deferred.promise();
}