webfontloader 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -0
- data/README.md +2 -0
- data/lib/webfontloader.rb +1 -1
- data/spec/core/fontwatchrunner_spec.js +5 -1
- data/spec/index.html +3 -1
- data/webfontloader.gemspec +2 -3
- metadata +4 -5
- data/src/core/namespace.js +0 -1
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
Web Font Loader gives you added control when using linked fonts via `@font-face`. It provides a common interface to loading fonts regardless of the source, then adds a standard set of events you may use to control the loading experience. The Web Font Loader is able to load fonts from [Google Fonts](http://www.google.com/fonts/), [Typekit](http://www.typekit.com/), [Ascender](http://www.ascenderfonts.com/webfonts/), [Fonts.com](http://www.fonts.com/), and [Fontdeck](http://fontdeck.com/), as well as self-hosted web fonts. It is co-developed by [Google](http://www.google.com/) and [Typekit](http://www.typekit.com).
|
4
4
|
|
5
|
+
[](https://travis-ci.org/typekit/webfontloader)
|
6
|
+
|
5
7
|
## Contents
|
6
8
|
|
7
9
|
* [Get started](#get-started)
|
data/lib/webfontloader.rb
CHANGED
@@ -345,7 +345,11 @@ describe('FontWatchRunner', function () {
|
|
345
345
|
});
|
346
346
|
|
347
347
|
runs(function () {
|
348
|
-
|
348
|
+
if (userAgent.getBrowserInfo().hasWebKitFallbackBug()) {
|
349
|
+
expect(activeCallback).toHaveBeenCalledWith(elena);
|
350
|
+
} else {
|
351
|
+
expect(inactiveCallback).toHaveBeenCalledWith(elena);
|
352
|
+
}
|
349
353
|
});
|
350
354
|
});
|
351
355
|
|
data/spec/index.html
CHANGED
@@ -68,7 +68,9 @@
|
|
68
68
|
color: true
|
69
69
|
});
|
70
70
|
|
71
|
-
|
71
|
+
if (/PhantomJS/.test(navigator.userAgent)) {
|
72
|
+
env.addReporter(terminalReporter);
|
73
|
+
}
|
72
74
|
env.addReporter(htmlReporter);
|
73
75
|
env.specFilter = function (spec) {
|
74
76
|
return htmlReporter.specFilter(spec);
|
data/webfontloader.gemspec
CHANGED
@@ -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.
|
17
|
-
s.date = '2013-
|
16
|
+
s.version = '1.4.9'
|
17
|
+
s.date = '2013-07-24'
|
18
18
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
20
20
|
## as you like.
|
@@ -157,7 +157,6 @@ DESC
|
|
157
157
|
src/core/fontwatcher.js
|
158
158
|
src/core/fontwatchrunner.js
|
159
159
|
src/core/initialize.js
|
160
|
-
src/core/namespace.js
|
161
160
|
src/core/useragent.js
|
162
161
|
src/core/useragentparser.js
|
163
162
|
src/core/version.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:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 9
|
10
|
+
version: 1.4.9
|
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-
|
19
|
+
date: 2013-07-24 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: rake
|
@@ -185,7 +185,6 @@ files:
|
|
185
185
|
- src/core/fontwatcher.js
|
186
186
|
- src/core/fontwatchrunner.js
|
187
187
|
- src/core/initialize.js
|
188
|
-
- src/core/namespace.js
|
189
188
|
- src/core/useragent.js
|
190
189
|
- src/core/useragentparser.js
|
191
190
|
- src/core/version.js
|
data/src/core/namespace.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var webfont = {};
|