Jimdo / angular-fontselect

A fontselect directive for AngularJS
MIT License
29 stars 9 forks source link

Can not call fallback of undefined in line 1725 #26

Closed Xiphe closed 10 years ago

joscha commented 10 years ago

Stack trace

TypeError: Cannot read property 'fallback' of undefined
    at http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular-fontselect/dist/angular-fontselect.js?debug&1335805140:1725:56
    at Array.forEach (native)
    at Object.forEach (http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:323:11)
    at http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular-fontselect/dist/angular-fontselect.js?debug&1335805140:1715:17
    at http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:7946:11
    at deferred.promise.then.wrappedCallback (http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:11319:81)
    at deferred.promise.then.wrappedCallback (http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:11319:81)
    at http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:11405:26
    at Scope.$eval (http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:12412:28)
    at Scope.$digest (http://a0.jimstatic.dev/app/cdn/min/file/js/bower_components/angular/angular.js?debug&1335805140:12224:31) 

and the according line is here: https://github.com/Jimdo/angular-fontselect/blob/master/dist/angular-fontselect.js#L1725

joscha commented 10 years ago

Happens with Rubik One