| Index: lib/adblockplus_compat.js |
| =================================================================== |
| --- a/lib/adblockplus_compat.js |
| +++ b/lib/adblockplus_compat.js |
| @@ -10,16 +10,23 @@ |
| * 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/>. |
| */ |
| +// TODO: These need to be defined properly |
| +function XMLHttpRequest() {}; |
| +var window = { |
| + setTimeout: function(){}, |
| + requestFileSystem: function(){} |
| +}; |
| + |
| // |
| // Module framework stuff |
| // |
| function require(module) |
| { |
| return require.scopes[module]; |
| } |