Bug 1243805 - Replace Proxy.create with new Proxy in devtools l10n code. r=jryans

--HG--
extra : transplant_source : v%BE-%17%C2%07y%FEX%7D%E1%A1%DE%C4%CB%88P%9D%1E%AA
This commit is contained in:
Joe Walker 2016-02-05 18:30:59 +00:00
parent 19409bcb7c
commit 1218f357a4
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ exports.lookup = function(name) {
* <code>l10n:l10n.propertyLookup</code> in the template data and use it
* like <code>${l10n.BLAH}</code>
*/
exports.propertyLookup = Proxy.create({
exports.propertyLookup = new Proxy({}, {
get: function(rcvr, name) {
return exports.lookup(name);
}

View File

@ -71,7 +71,7 @@ exports.lookup = function(key) {
};
/** @see propertyLookup in lib/gcli/util/l10n.js */
exports.propertyLookup = Proxy.create({
exports.propertyLookup = new Proxy({}, {
get: function(rcvr, name) {
return exports.lookup(name);
}