diff --git a/fonts/services/googleFonts.js b/fonts/services/googleFonts.js index b50544a..cde3a25 100644 --- a/fonts/services/googleFonts.js +++ b/fonts/services/googleFonts.js @@ -2,7 +2,7 @@ export default (ngModule) => { ngModule.service('googleFonts', function() { - var WebFont = require('components-webfontloader/webfontloader'); + var WebFont = require('webfontloader'); WebFont.loaded = []; this.load = function(fontName) { diff --git a/package.json b/package.json index 081781b..63d32f8 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "@goldenplanet/angular", "description": "AngularJS modules for OpenBizBox", - "version": "1.0.1", + "version": "1.0.2", "authors": [ "Steven Pribilinskiy " ], "homepage": "https://github.com/goldenplanetdk/angular-obb", "main": "index.js", + "dependencies": { + "webfontloader": "1.6.24" + }, "devDependencies": { "angular": "~1.4.8", "lodash": "~3.10.1"