| Index: chrome/renderer/resources/extensions/utils.js
|
| ===================================================================
|
| --- chrome/renderer/resources/extensions/utils.js (revision 184858)
|
| +++ chrome/renderer/resources/extensions/utils.js (working copy)
|
| @@ -2,8 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -var chrome = requireNative('chrome').GetChrome();
|
| -
|
| function forEach(dict, f) {
|
| for (var key in dict) {
|
| if (dict.hasOwnProperty(key))
|
| @@ -27,16 +25,5 @@
|
| }
|
| }
|
|
|
| -// Specify |currentApi| if this should return an API for $refs in the current
|
| -// namespace.
|
| -function loadRefDependency(ref, currentApi) {
|
| - var parts = ref.split(".");
|
| - if (parts.length > 1)
|
| - return chrome[parts.slice(0, parts.length - 1).join(".")];
|
| - else
|
| - return currentApi;
|
| -}
|
| -
|
| exports.forEach = forEach;
|
| -exports.loadRefDependency = loadRefDependency;
|
| exports.lookup = lookup;
|
|
|