Skip to content

Commit

Permalink
Merge pull request #55 from Rob--W/use-object-not-array
Browse files Browse the repository at this point in the history
Use object instead of array for dictionary
  • Loading branch information
fabi1cazenave committed Feb 25, 2015
2 parents 008523b + 5fa0354 commit 125e655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n.js
Expand Up @@ -194,7 +194,7 @@ document.webL10n = (function(window, document, undefined) {
// If gAsyncResourceLoading is false, then the callback will be called
// synchronously. Otherwise it is called asynchronously.
function parseProperties(text, parsedPropertiesCallback) {
var dictionary = [];
var dictionary = {};

// token expressions
var reBlank = /^\s*|\s*$/;
Expand Down

0 comments on commit 125e655

Please sign in to comment.