webfontloader 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/CHANGELOG +5 -0
  2. data/lib/webfontloader.rb +1 -1
  3. data/spec/core/domhelper_spec.js +246 -1
  4. data/spec/core/external_script.js +1 -0
  5. data/spec/core/fontwatcher_spec.js +11 -11
  6. data/spec/deps.js +9 -9
  7. data/spec/index.html +15 -15
  8. data/spec/{ascender/ascenderscript_spec.js → modules/ascender_spec.js} +17 -17
  9. data/spec/{custom/customcss_spec.js → modules/custom_spec.js} +3 -3
  10. data/spec/{fontdeck/fontdeckscript_spec.js → modules/fontdeck_spec.js} +6 -6
  11. data/spec/{google → modules/google}/fontapiparser_spec.js +2 -2
  12. data/spec/{google → modules/google}/fontapiurlbuilder_spec.js +2 -2
  13. data/spec/{google → modules/google}/googlefontapi_spec.js +2 -2
  14. data/spec/{google → modules/google}/lastresortwebkitfontwatchrunner_spec.js +2 -2
  15. data/spec/{monotype/monotypescript_spec.js → modules/monotype_spec.js} +5 -4
  16. data/spec/{typekit/typekitscript_spec.js → modules/typekit_spec.js} +6 -6
  17. data/src/core/domhelper.js +62 -1
  18. data/src/core/fontwatcher.js +1 -1
  19. data/src/core/webfont.js +2 -2
  20. data/src/modules.yml +9 -9
  21. data/src/{ascender/ascender_script.js → modules/ascender.js} +13 -13
  22. data/src/{custom/customcss.js → modules/custom.js} +8 -8
  23. data/src/{fontdeck/fontdeck_script.js → modules/fontdeck.js} +16 -17
  24. data/src/{google → modules/google}/fontapiparser.js +7 -7
  25. data/src/{google → modules/google}/fontapiurlbuilder.js +5 -5
  26. data/src/{google → modules/google}/googlefontapi.js +12 -12
  27. data/src/{google → modules/google}/lastresortwebkitfontwatchrunner.js +5 -5
  28. data/src/{monotype/monotype_script.js → modules/monotype.js} +16 -16
  29. data/src/{typekit/typekit_script.js → modules/typekit.js} +13 -13
  30. data/webfontloader.gemspec +21 -20
  31. metadata +23 -22
@@ -1,18 +1,18 @@
1
- goog.provide('webfont.FontApiParser');
1
+ goog.provide('webfont.modules.google.FontApiParser');
2
2
 
3
3
  goog.require('webfont.Font');
4
4
 
5
5
  /**
6
6
  * @constructor
7
7
  */
8
- webfont.FontApiParser = function(fontFamilies) {
8
+ webfont.modules.google.FontApiParser = function(fontFamilies) {
9
9
  this.fontFamilies_ = fontFamilies;
10
10
  this.parsedFonts_ = [];
11
11
  this.fontTestStrings_ = {};
12
12
  };
13
13
 
14
14
 
15
- webfont.FontApiParser.INT_FONTS = {
15
+ webfont.modules.google.FontApiParser.INT_FONTS = {
16
16
  'latin': webfont.FontWatchRunner.DEFAULT_TEST_STRING,
17
17
  'cyrillic': 'йяЖ',
18
18
  'greek': 'αβΣ',
@@ -20,7 +20,7 @@ webfont.FontApiParser.INT_FONTS = {
20
20
  'Hanuman': 'កខគ' // For backward compatibility
21
21
  };
22
22
 
23
- webfont.FontApiParser.WEIGHTS = {
23
+ webfont.modules.google.FontApiParser.WEIGHTS = {
24
24
  'thin': '1',
25
25
  'extralight': '2',
26
26
  'extra-light': '2',
@@ -46,20 +46,20 @@ webfont.FontApiParser.WEIGHTS = {
46
46
  'b': '7'
47
47
  };
48
48
 
49
- webfont.FontApiParser.STYLES = {
49
+ webfont.modules.google.FontApiParser.STYLES = {
50
50
  'i': 'i',
51
51
  'italic': 'i',
52
52
  'n': 'n',
53
53
  'normal': 'n'
54
54
  };
55
55
 
56
- webfont.FontApiParser.VARIATION_MATCH =
56
+ webfont.modules.google.FontApiParser.VARIATION_MATCH =
57
57
  new RegExp("^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|" +
58
58
  "(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i" +
59
59
  "|normal|italic)?$");
60
60
 
61
61
  goog.scope(function () {
62
- var FontApiParser = webfont.FontApiParser,
62
+ var FontApiParser = webfont.modules.google.FontApiParser,
63
63
  Font = webfont.Font;
64
64
 
65
65
  FontApiParser.prototype.parse = function() {
@@ -1,13 +1,13 @@
1
- goog.provide('webfont.FontApiUrlBuilder');
1
+ goog.provide('webfont.modules.google.FontApiUrlBuilder');
2
2
 
3
3
  /**
4
4
  * @constructor
5
5
  */
6
- webfont.FontApiUrlBuilder = function(apiUrl, protocol, text) {
6
+ webfont.modules.google.FontApiUrlBuilder = function(apiUrl, protocol, text) {
7
7
  if (apiUrl) {
8
8
  this.apiUrl_ = apiUrl;
9
9
  } else {
10
- this.apiUrl_ = protocol + webfont.FontApiUrlBuilder.DEFAULT_API_URL;
10
+ this.apiUrl_ = protocol + webfont.modules.google.FontApiUrlBuilder.DEFAULT_API_URL;
11
11
  }
12
12
  this.fontFamilies_ = [];
13
13
  this.subsets_ = [];
@@ -15,10 +15,10 @@ webfont.FontApiUrlBuilder = function(apiUrl, protocol, text) {
15
15
  };
16
16
 
17
17
 
18
- webfont.FontApiUrlBuilder.DEFAULT_API_URL = '//fonts.googleapis.com/css';
18
+ webfont.modules.google.FontApiUrlBuilder.DEFAULT_API_URL = '//fonts.googleapis.com/css';
19
19
 
20
20
  goog.scope(function () {
21
- var FontApiUrlBuilder = webfont.FontApiUrlBuilder;
21
+ var FontApiUrlBuilder = webfont.modules.google.FontApiUrlBuilder;
22
22
 
23
23
  FontApiUrlBuilder.prototype.setFontFamilies = function(fontFamilies) {
24
24
  this.parseFontFamilies_(fontFamilies);
@@ -1,28 +1,28 @@
1
- goog.provide('webfont.GoogleFontApi');
1
+ goog.provide('webfont.modules.google.GoogleFontApi');
2
2
 
3
- goog.require('webfont.FontApiUrlBuilder');
4
- goog.require('webfont.FontApiParser');
3
+ goog.require('webfont.modules.google.FontApiUrlBuilder');
4
+ goog.require('webfont.modules.google.FontApiParser');
5
5
  goog.require('webfont.FontWatchRunner');
6
- goog.require('webfont.LastResortWebKitFontWatchRunner');
6
+ goog.require('webfont.modules.google.LastResortWebKitFontWatchRunner');
7
7
 
8
8
  /**
9
9
  * @constructor
10
10
  * @implements {webfont.FontModule}
11
11
  */
12
- webfont.GoogleFontApi = function(userAgent, domHelper, configuration) {
12
+ webfont.modules.google.GoogleFontApi = function(userAgent, domHelper, configuration) {
13
13
  this.userAgent_ = userAgent;
14
14
  this.domHelper_ = domHelper;
15
15
  this.configuration_ = configuration;
16
16
  };
17
17
 
18
- webfont.GoogleFontApi.NAME = 'google';
18
+ webfont.modules.google.GoogleFontApi.NAME = 'google';
19
19
 
20
20
  goog.scope(function () {
21
- var GoogleFontApi = webfont.GoogleFontApi,
21
+ var GoogleFontApi = webfont.modules.google.GoogleFontApi,
22
22
  FontWatchRunner = webfont.FontWatchRunner,
23
- LastResortWebKitFontWatchRunner = webfont.LastResortWebKitFontWatchRunner,
24
- FontApiUrlBuilder = webfont.FontApiUrlBuilder,
25
- FontApiParser = webfont.FontApiParser;
23
+ LastResortWebKitFontWatchRunner = webfont.modules.google.LastResortWebKitFontWatchRunner,
24
+ FontApiUrlBuilder = webfont.modules.google.FontApiUrlBuilder,
25
+ FontApiParser = webfont.modules.google.FontApiParser;
26
26
 
27
27
  GoogleFontApi.prototype.supportUserAgent = function(userAgent, support) {
28
28
  support(userAgent.getBrowserInfo().hasWebFontSupport());
@@ -63,8 +63,8 @@ goog.scope(function () {
63
63
  };
64
64
  });
65
65
 
66
- globalNamespaceObject.addModule(webfont.GoogleFontApi.NAME, function(configuration, domHelper) {
66
+ globalNamespaceObject.addModule(webfont.modules.google.GoogleFontApi.NAME, function(configuration, domHelper) {
67
67
  var userAgentParser = new webfont.UserAgentParser(navigator.userAgent, document);
68
68
  var userAgent = userAgentParser.parse();
69
- return new webfont.GoogleFontApi(userAgent, domHelper, configuration);
69
+ return new webfont.modules.google.GoogleFontApi(userAgent, domHelper, configuration);
70
70
  });
@@ -1,4 +1,4 @@
1
- goog.provide('webfont.LastResortWebKitFontWatchRunner');
1
+ goog.provide('webfont.modules.google.LastResortWebKitFontWatchRunner');
2
2
 
3
3
  goog.require('webfont.Font');
4
4
  goog.require('webfont.FontRuler');
@@ -15,7 +15,7 @@ goog.require('webfont.FontRuler');
15
15
  * @param {string=} opt_fontTestString
16
16
  * @extends webfont.FontWatchRunner
17
17
  */
18
- webfont.LastResortWebKitFontWatchRunner = function(activeCallback,
18
+ webfont.modules.google.LastResortWebKitFontWatchRunner = function(activeCallback,
19
19
  inactiveCallback, domHelper, font,
20
20
  browserInfo, opt_timeout, opt_metricCompatibleFonts, opt_fontTestString) {
21
21
 
@@ -28,16 +28,16 @@ webfont.LastResortWebKitFontWatchRunner = function(activeCallback,
28
28
  this.lastObservedWidthB_ = this.lastResortWidths_[webfont.FontWatchRunner.LastResortFonts.SANS_SERIF];;
29
29
  };
30
30
 
31
- goog.inherits(webfont.LastResortWebKitFontWatchRunner, webfont.FontWatchRunner)
31
+ goog.inherits(webfont.modules.google.LastResortWebKitFontWatchRunner, webfont.FontWatchRunner)
32
32
 
33
- webfont.LastResortWebKitFontWatchRunner.METRICS_COMPATIBLE_FONTS = {
33
+ webfont.modules.google.LastResortWebKitFontWatchRunner.METRICS_COMPATIBLE_FONTS = {
34
34
  "Arimo": true,
35
35
  "Cousine": true,
36
36
  "Tinos": true
37
37
  };
38
38
 
39
39
  goog.scope(function () {
40
- var LastResortWebKitFontWatchRunner = webfont.LastResortWebKitFontWatchRunner,
40
+ var LastResortWebKitFontWatchRunner = webfont.modules.google.LastResortWebKitFontWatchRunner,
41
41
  Font = webfont.Font,
42
42
  FontRuler = webfont.FontRuler;
43
43
 
@@ -1,4 +1,4 @@
1
- goog.provide('webfont.MonotypeScript');
1
+ goog.provide('webfont.modules.Monotype');
2
2
 
3
3
  goog.require('webfont.Font');
4
4
 
@@ -14,7 +14,7 @@ projectId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'//this is your Fonts.com Web fo
14
14
  * @constructor
15
15
  * @implements {webfont.FontModule}
16
16
  */
17
- webfont.MonotypeScript = function (userAgent, domHelper, configuration) {
17
+ webfont.modules.Monotype = function (userAgent, domHelper, configuration) {
18
18
  this.userAgent_ = userAgent;
19
19
  this.domHelper_ = domHelper;
20
20
  this.configuration_ = configuration;
@@ -25,38 +25,38 @@ webfont.MonotypeScript = function (userAgent, domHelper, configuration) {
25
25
  * name of the module through which external API is supposed to call the MonotypeFontAPI.
26
26
  * @const
27
27
  */
28
- webfont.MonotypeScript.NAME = 'monotype';
28
+ webfont.modules.Monotype.NAME = 'monotype';
29
29
 
30
30
  /**
31
31
  * __mti_fntLst is the name of function that exposes Monotype's font list.
32
32
  * @const
33
33
  */
34
- webfont.MonotypeScript.HOOK = '__mti_fntLst';
34
+ webfont.modules.Monotype.HOOK = '__mti_fntLst';
35
35
 
36
36
  /**
37
37
  * __MonotypeAPIScript__ is the id of script added by google API. Currently 'webfonts.fonts.com' supports only one script in a page.
38
38
  * This may require change in future if 'webfonts.fonts.com' begins supporting multiple scripts per page.
39
39
  * @const
40
40
  */
41
- webfont.MonotypeScript.SCRIPTID = '__MonotypeAPIScript__';
41
+ webfont.modules.Monotype.SCRIPTID = '__MonotypeAPIScript__';
42
42
 
43
43
  goog.scope(function () {
44
- var MonotypeScript = webfont.MonotypeScript,
44
+ var Monotype = webfont.modules.Monotype,
45
45
  Font = webfont.Font;
46
46
 
47
- MonotypeScript.prototype.supportUserAgent = function (userAgent, support) {
47
+ Monotype.prototype.supportUserAgent = function (userAgent, support) {
48
48
  var self = this;
49
49
  var projectId = self.configuration_['projectId'];
50
50
  var version = self.configuration_['version'];
51
51
  if (projectId) {
52
- var sc = self.domHelper_.createElement("script");
53
- sc["id"] = MonotypeScript.SCRIPTID + projectId;
52
+ var loadWindow = self.domHelper_.getLoadWindow(),
53
+ sc = self.domHelper_.createElement("script");
54
54
 
55
- var loadWindow = this.domHelper_.getLoadWindow();
55
+ sc["id"] = Monotype.SCRIPTID + projectId;
56
56
 
57
57
  function onload() {
58
- if (loadWindow[MonotypeScript.HOOK + projectId]) {
59
- var mti_fnts = loadWindow[webfont.MonotypeScript.HOOK + projectId]();
58
+ if (loadWindow[Monotype.HOOK + projectId]) {
59
+ var mti_fnts = loadWindow[Monotype.HOOK + projectId]();
60
60
  if (mti_fnts) {
61
61
  for (var i = 0; i < mti_fnts.length; i++) {
62
62
  self.fonts_.push(new Font(mti_fnts[i]["fontfamily"]));
@@ -84,19 +84,19 @@ goog.scope(function () {
84
84
  }
85
85
  };
86
86
 
87
- MonotypeScript.prototype.getScriptSrc = function (projectId, version) {
87
+ Monotype.prototype.getScriptSrc = function (projectId, version) {
88
88
  var p = this.domHelper_.getProtocol();
89
89
  var api = (this.configuration_['api'] || 'fast.fonts.com/jsapi').replace(/^.*http(s?):(\/\/)?/, "");
90
90
  return p + "//" + api + '/' + projectId + '.js' + ( version ? '?v='+ version : '' );
91
91
  };
92
92
 
93
- MonotypeScript.prototype.load = function (onReady) {
93
+ Monotype.prototype.load = function (onReady) {
94
94
  onReady(this.fonts_);
95
95
  };
96
96
  });
97
97
 
98
- globalNamespaceObject.addModule(webfont.MonotypeScript.NAME, function (configuration, domHelper) {
98
+ globalNamespaceObject.addModule(webfont.modules.Monotype.NAME, function (configuration, domHelper) {
99
99
  var userAgentParser = new webfont.UserAgentParser(navigator.userAgent, document);
100
100
  var userAgent = userAgentParser.parse();
101
- return new webfont.MonotypeScript(userAgent, domHelper, configuration);
101
+ return new webfont.modules.Monotype(userAgent, domHelper, configuration);
102
102
  });
@@ -1,4 +1,4 @@
1
- goog.provide('webfont.TypekitScript');
1
+ goog.provide('webfont.modules.Typekit');
2
2
 
3
3
  goog.require('webfont.Font');
4
4
 
@@ -6,26 +6,26 @@ goog.require('webfont.Font');
6
6
  * @constructor
7
7
  * @implements {webfont.FontModule}
8
8
  */
9
- webfont.TypekitScript = function(domHelper, configuration) {
9
+ webfont.modules.Typekit = function(domHelper, configuration) {
10
10
  this.domHelper_ = domHelper;
11
11
  this.configuration_ = configuration;
12
12
  this.fonts_ = [];
13
13
  };
14
14
 
15
- webfont.TypekitScript.NAME = 'typekit';
16
- webfont.TypekitScript.HOOK = '__webfonttypekitmodule__';
15
+ webfont.modules.Typekit.NAME = 'typekit';
16
+ webfont.modules.Typekit.HOOK = '__webfonttypekitmodule__';
17
17
 
18
18
  goog.scope(function () {
19
- var TypekitScript = webfont.TypekitScript,
19
+ var Typekit = webfont.modules.Typekit,
20
20
  Font = webfont.Font;
21
21
 
22
- TypekitScript.prototype.getScriptSrc = function(kitId) {
22
+ Typekit.prototype.getScriptSrc = function(kitId) {
23
23
  var protocol = this.domHelper_.getProtocol();
24
24
  var api = this.configuration_['api'] || protocol + '//use.typekit.net';
25
25
  return api + '/' + kitId + '.js';
26
26
  };
27
27
 
28
- TypekitScript.prototype.supportUserAgent = function(userAgent, support) {
28
+ Typekit.prototype.supportUserAgent = function(userAgent, support) {
29
29
  var kitId = this.configuration_['id'];
30
30
  var configuration = this.configuration_;
31
31
  var loadWindow = this.domHelper_.getLoadWindow();
@@ -33,13 +33,13 @@ goog.scope(function () {
33
33
 
34
34
  if (kitId) {
35
35
  // Provide data to Typekit for processing.main
36
- if (!loadWindow[webfont.TypekitScript.HOOK]) {
37
- loadWindow[webfont.TypekitScript.HOOK] = {};
36
+ if (!loadWindow[Typekit.HOOK]) {
37
+ loadWindow[Typekit.HOOK] = {};
38
38
  }
39
39
 
40
40
  // Typekit will call 'init' to indicate whether it supports fonts
41
41
  // and what fonts will be provided.
42
- loadWindow[webfont.TypekitScript.HOOK][kitId] = function(callback) {
42
+ loadWindow[Typekit.HOOK][kitId] = function(callback) {
43
43
  var init = function(typekitSupports, fontFamilies, fontVariations) {
44
44
  for (var i = 0; i < fontFamilies.length; i += 1) {
45
45
  var variations = fontVariations[fontFamilies[i]];
@@ -65,11 +65,11 @@ goog.scope(function () {
65
65
  }
66
66
  };
67
67
 
68
- TypekitScript.prototype.load = function(onReady) {
68
+ Typekit.prototype.load = function(onReady) {
69
69
  onReady(this.fonts_);
70
70
  };
71
71
  });
72
72
 
73
- globalNamespaceObject.addModule(webfont.TypekitScript.NAME, function(configuration, domHelper) {
74
- return new webfont.TypekitScript(domHelper, configuration);
73
+ globalNamespaceObject.addModule(webfont.modules.Typekit.NAME, function(configuration, domHelper) {
74
+ return new webfont.modules.Typekit(domHelper, configuration);
75
75
  });
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'webfontloader'
16
- s.version = '1.4.4'
17
- s.date = '2013-05-22'
16
+ s.version = '1.4.5'
17
+ s.date = '2013-05-23'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
@@ -106,10 +106,10 @@ DESC
106
106
  lib/webfontloader/demo/public/typekit.html
107
107
  lib/webfontloader/demo/server.rb
108
108
  lib/webfontloader/modules.rb
109
- spec/ascender/ascenderscript_spec.js
110
109
  spec/core/cssclassname_spec.js
111
110
  spec/core/domhelper_spec.js
112
111
  spec/core/eventdispatcher_spec.js
112
+ spec/core/external_script.js
113
113
  spec/core/font_spec.js
114
114
  spec/core/fontmoduleloader_spec.js
115
115
  spec/core/fontruler_spec.js
@@ -119,9 +119,7 @@ DESC
119
119
  spec/core/useragentparser_spec.js
120
120
  spec/core/version_spec.js
121
121
  spec/core/webfont_spec.js
122
- spec/custom/customcss_spec.js
123
122
  spec/deps.js
124
- spec/fontdeck/fontdeckscript_spec.js
125
123
  spec/fonts/LICENSE.txt
126
124
  spec/fonts/nullfont.css
127
125
  spec/fonts/nullfont1.css
@@ -137,14 +135,16 @@ DESC
137
135
  spec/fonts/sourcesansc.css
138
136
  spec/fonts/sourcesanscbold.css
139
137
  spec/fonts/sourcesanscbold.otf
140
- spec/google/fontapiparser_spec.js
141
- spec/google/fontapiurlbuilder_spec.js
142
- spec/google/googlefontapi_spec.js
143
- spec/google/lastresortwebkitfontwatchrunner_spec.js
144
138
  spec/index.html
145
- spec/monotype/monotypescript_spec.js
146
- spec/typekit/typekitscript_spec.js
147
- src/ascender/ascender_script.js
139
+ spec/modules/ascender_spec.js
140
+ spec/modules/custom_spec.js
141
+ spec/modules/fontdeck_spec.js
142
+ spec/modules/google/fontapiparser_spec.js
143
+ spec/modules/google/fontapiurlbuilder_spec.js
144
+ spec/modules/google/googlefontapi_spec.js
145
+ spec/modules/google/lastresortwebkitfontwatchrunner_spec.js
146
+ spec/modules/monotype_spec.js
147
+ spec/modules/typekit_spec.js
148
148
  src/async_load.js
149
149
  src/closure.js
150
150
  src/core/browserinfo.js
@@ -162,15 +162,16 @@ DESC
162
162
  src/core/useragentparser.js
163
163
  src/core/version.js
164
164
  src/core/webfont.js
165
- src/custom/customcss.js
166
- src/fontdeck/fontdeck_script.js
167
- src/google/fontapiparser.js
168
- src/google/fontapiurlbuilder.js
169
- src/google/googlefontapi.js
170
- src/google/lastresortwebkitfontwatchrunner.js
171
165
  src/modules.yml
172
- src/monotype/monotype_script.js
173
- src/typekit/typekit_script.js
166
+ src/modules/ascender.js
167
+ src/modules/custom.js
168
+ src/modules/fontdeck.js
169
+ src/modules/google/fontapiparser.js
170
+ src/modules/google/fontapiurlbuilder.js
171
+ src/modules/google/googlefontapi.js
172
+ src/modules/google/lastresortwebkitfontwatchrunner.js
173
+ src/modules/monotype.js
174
+ src/modules/typekit.js
174
175
  tools/compiler/base.js
175
176
  tools/compiler/compiler.jar
176
177
  tools/jasmine-phantomjs/jasmine-phantomjs.js
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webfontloader
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 4
10
- version: 1.4.4
9
+ - 5
10
+ version: 1.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Carver
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-05-22 00:00:00 Z
19
+ date: 2013-05-23 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rake
@@ -134,10 +134,10 @@ files:
134
134
  - lib/webfontloader/demo/public/typekit.html
135
135
  - lib/webfontloader/demo/server.rb
136
136
  - lib/webfontloader/modules.rb
137
- - spec/ascender/ascenderscript_spec.js
138
137
  - spec/core/cssclassname_spec.js
139
138
  - spec/core/domhelper_spec.js
140
139
  - spec/core/eventdispatcher_spec.js
140
+ - spec/core/external_script.js
141
141
  - spec/core/font_spec.js
142
142
  - spec/core/fontmoduleloader_spec.js
143
143
  - spec/core/fontruler_spec.js
@@ -147,9 +147,7 @@ files:
147
147
  - spec/core/useragentparser_spec.js
148
148
  - spec/core/version_spec.js
149
149
  - spec/core/webfont_spec.js
150
- - spec/custom/customcss_spec.js
151
150
  - spec/deps.js
152
- - spec/fontdeck/fontdeckscript_spec.js
153
151
  - spec/fonts/LICENSE.txt
154
152
  - spec/fonts/nullfont.css
155
153
  - spec/fonts/nullfont1.css
@@ -165,14 +163,16 @@ files:
165
163
  - spec/fonts/sourcesansc.css
166
164
  - spec/fonts/sourcesanscbold.css
167
165
  - spec/fonts/sourcesanscbold.otf
168
- - spec/google/fontapiparser_spec.js
169
- - spec/google/fontapiurlbuilder_spec.js
170
- - spec/google/googlefontapi_spec.js
171
- - spec/google/lastresortwebkitfontwatchrunner_spec.js
172
166
  - spec/index.html
173
- - spec/monotype/monotypescript_spec.js
174
- - spec/typekit/typekitscript_spec.js
175
- - src/ascender/ascender_script.js
167
+ - spec/modules/ascender_spec.js
168
+ - spec/modules/custom_spec.js
169
+ - spec/modules/fontdeck_spec.js
170
+ - spec/modules/google/fontapiparser_spec.js
171
+ - spec/modules/google/fontapiurlbuilder_spec.js
172
+ - spec/modules/google/googlefontapi_spec.js
173
+ - spec/modules/google/lastresortwebkitfontwatchrunner_spec.js
174
+ - spec/modules/monotype_spec.js
175
+ - spec/modules/typekit_spec.js
176
176
  - src/async_load.js
177
177
  - src/closure.js
178
178
  - src/core/browserinfo.js
@@ -190,15 +190,16 @@ files:
190
190
  - src/core/useragentparser.js
191
191
  - src/core/version.js
192
192
  - src/core/webfont.js
193
- - src/custom/customcss.js
194
- - src/fontdeck/fontdeck_script.js
195
- - src/google/fontapiparser.js
196
- - src/google/fontapiurlbuilder.js
197
- - src/google/googlefontapi.js
198
- - src/google/lastresortwebkitfontwatchrunner.js
199
193
  - src/modules.yml
200
- - src/monotype/monotype_script.js
201
- - src/typekit/typekit_script.js
194
+ - src/modules/ascender.js
195
+ - src/modules/custom.js
196
+ - src/modules/fontdeck.js
197
+ - src/modules/google/fontapiparser.js
198
+ - src/modules/google/fontapiurlbuilder.js
199
+ - src/modules/google/googlefontapi.js
200
+ - src/modules/google/lastresortwebkitfontwatchrunner.js
201
+ - src/modules/monotype.js
202
+ - src/modules/typekit.js
202
203
  - tools/compiler/base.js
203
204
  - tools/compiler/compiler.jar
204
205
  - tools/jasmine-phantomjs/jasmine-phantomjs.js