Permalink
Browse files

Change the url builder to handle integrations.

  • Loading branch information...
1 parent 1d99ad5 commit e8d18d8b96361c0ba06f3e540fdf7717e8b1025c @jeremiele jeremiele committed Sep 30, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/google/fontapiurlbuilder.js
@@ -27,6 +27,9 @@ webfont.FontApiUrlBuilder.prototype.build = function() {
if (!this.fontFamilies_) {
throw new Error('No fonts to load !');
}
+ if (this.apiUrl_.indexOf("kit=") != -1) {
+ return this.apiUrl_;
+ }
var length = this.fontFamilies_.length;
var sb = [];

0 comments on commit e8d18d8

Please sign in to comment.