| Index: notification.js |
| =================================================================== |
| --- a/notification.js |
| +++ b/notification.js |
| @@ -12,16 +12,18 @@ |
| * 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 {require} = ext.backgroundPage.getWindow(); |
| + |
| const {Utils} = require("utils"); |
| const {Notification} = require("notification"); |
| const {getActiveNotification, shouldDisplay} = require("notificationHelper"); |
| function getDocLinks(notification) |
| { |
| if (!notification.links) |
| return []; |