|
@ -21,7 +21,7 @@ |
|
|
|
|
|
|
|
|
// For background page or non-background pages
|
|
|
// For background page or non-background pages
|
|
|
|
|
|
|
|
|
/* global self, vAPI */ |
|
|
|
|
|
|
|
|
/* global self */ |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
@ -31,6 +31,9 @@ |
|
|
|
|
|
|
|
|
self.vAPI = self.vAPI || {}; |
|
|
self.vAPI = self.vAPI || {}; |
|
|
|
|
|
|
|
|
|
|
|
var chrome = self.chrome; |
|
|
|
|
|
var vAPI = self.vAPI; |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
// http://www.w3.org/International/questions/qa-scripts#directions
|
|
|
// http://www.w3.org/International/questions/qa-scripts#directions
|
|
@ -70,8 +73,6 @@ vAPI.download = function(details) { |
|
|
|
|
|
|
|
|
/******************************************************************************/ |
|
|
/******************************************************************************/ |
|
|
|
|
|
|
|
|
var chrome = self.chrome; |
|
|
|
|
|
|
|
|
|
|
|
vAPI.getURL = function(path) { |
|
|
vAPI.getURL = function(path) { |
|
|
return chrome.runtime.getURL(path); |
|
|
return chrome.runtime.getURL(path); |
|
|
}; |
|
|
}; |
|
|