diff options
author | gorhill <rhill@raymondhill.net> | 2015-01-01 21:14:53 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-01-01 21:14:53 -0500 |
commit | 2d05d51664c23246e34a52b62082b1456d90c198 (patch) | |
tree | 25d26b826e6cfb2648634cedac9a8792be463bda /platform | |
parent | 2a7e9f8d9898bacc008d7274c08cee5ff90dd44b (diff) | |
download | uBlock-2d05d51664c23246e34a52b62082b1456d90c198.zip uBlock-2d05d51664c23246e34a52b62082b1456d90c198.tar.gz uBlock-2d05d51664c23246e34a52b62082b1456d90c198.tar.bz2 |
code review for #456
Diffstat (limited to 'platform')
-rw-r--r-- | platform/chromium/vapi-client.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index 057687f..e4099a2 100644 --- a/platform/chromium/vapi-client.js +++ b/platform/chromium/vapi-client.js @@ -33,15 +33,15 @@ self.vAPI = self.vAPI || {}; +var chrome = self.chrome; +var vAPI = self.vAPI; + // https://github.com/gorhill/uBlock/issues/456 // Already injected? -if ( vAPI.vapiClient ) { +if ( vAPI.vapiClientInjected ) { return; } -vAPI.vapiClient = true; - -var chrome = self.chrome; -var vAPI = self.vAPI; +vAPI.vapiClientInjected = true; vAPI.chrome = true; |