requirejs-plugins icon indicating copy to clipboard operation
requirejs-plugins copied to clipboard

Pull spalax's font.js Change to Fix ReferenceError: Can't find variable: WebFont

Open mjhasbach opened this issue 9 years ago • 4 comments

Please consider pulling in the modification to font.js that @spalax recently made. One of my projects recently started throwing a ReferenceError: Can't find variable: WebFont exception, and his change fixed the issue for me.

https://github.com/milsdev/requirejs-plugins/commit/f3dace3ad73a797d863dd44a934ae07b134379d1

mjhasbach avatar Feb 09 '16 21:02 mjhasbach

+1

ethyde avatar Feb 11 '16 19:02 ethyde

+1

Just helped someone out on Stack Overflow with this exact issue. Gave them instructions on how to do a really basic fix in the meantime.

http://stackoverflow.com/questions/35641422/how-do-you-set-up-requirejs-and-google-web-fonts/

chris-tomich avatar Feb 26 '16 02:02 chris-tomich

I was affected by this issue and the simple fix suggested by @chris-tomich on stackoverflow actually solved it. So I applied the fix on a branch and created a new pull request for it. Please review and approve. Thanks

luca-borrione avatar Oct 31 '16 20:10 luca-borrione

@millermedeiros please consider pulling this one; the issue is annoying but the fix is very simple.

dnl-blkv avatar Feb 13 '17 00:02 dnl-blkv