Skip to content

Commit

Permalink
Add dependency: webfontloader
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-pribilinskiy committed Apr 18, 2016
1 parent 96b457d commit 1215578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fonts/services/googleFonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "@goldenplanet/angular",
"description": "AngularJS modules for OpenBizBox",
"version": "1.0.1",
"version": "1.0.2",
"authors": [
"Steven Pribilinskiy <[email protected]>"
],
"homepage": "https://github.com/goldenplanetdk/angular-obb",
"main": "index.js",
"dependencies": {
"webfontloader": "1.6.24"
},
"devDependencies": {
"angular": "~1.4.8",
"lodash": "~3.10.1"
Expand Down

0 comments on commit 1215578

Please sign in to comment.