Index: lib/hooks.js |
=================================================================== |
--- a/lib/hooks.js |
+++ b/lib/hooks.js |
@@ -1,24 +1,11 @@ |
-/* |
- * This file is part of the Adblock Plus build tools, |
- * Copyright (C) 2006-2014 Eyeo GmbH |
- * |
- * Adblock Plus is free software: you can redistribute it and/or modify |
- * it under the terms of the GNU General Public License version 3 as |
- * published by the Free Software Foundation. |
- * |
- * Adblock Plus is distributed in the hope that it will be useful, |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- * 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/>. |
- */ |
+/* This Source Code Form is subject to the terms of the Mozilla Public |
+ * License, v. 2.0. If a copy of the MPL was not distributed with this |
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
function hook(obj, name, func, cleanup) |
{ |
let orig = obj[name]; |
let origGet = obj.__lookupGetter__(name); |
let origSet = obj.__lookupSetter__(name); |
let dumbOverrideAttempt = false; |