| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -12,17 +12,17 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| -const {port} = require("messaging"); |
| +const {port} = require("./lib/messaging"); |
| port.on("forward", (msg, sender) => |
| { |
| let targetPage; |
| if (msg.targetPageId) |
| targetPage = ext.getPage(msg.targetPageId); |
| else |
| targetPage = sender.page; |