|
|
@@ -18,7 +18,7 @@
|
|
|
* along with SingleFile. If not, see <http://www.gnu.org/licenses/>.
|
|
|
*/
|
|
|
|
|
|
-/* global fontFaceProxy */
|
|
|
+/* global hooks */
|
|
|
|
|
|
this.docHelper = this.docHelper || (() => {
|
|
|
|
|
|
@@ -355,8 +355,8 @@ this.docHelper = this.docHelper || (() => {
|
|
|
}
|
|
|
|
|
|
function getFontsData() {
|
|
|
- if (typeof fontFaceProxy != "undefined") {
|
|
|
- return fontFaceProxy.getFontsData();
|
|
|
+ if (typeof hooks != "undefined") {
|
|
|
+ return hooks.getFontsData();
|
|
|
}
|
|
|
}
|
|
|
|