webfontloader 1.0.31 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/CHANGELOG +6 -0
  2. data/README.md +20 -3
  3. data/lib/webfontloader/demo/public/ascender-iframe.html +46 -0
  4. data/lib/webfontloader/demo/public/blank.html +9 -0
  5. data/lib/webfontloader/demo/public/custom-iframe.html +41 -0
  6. data/lib/webfontloader/demo/public/custom.html +10 -10
  7. data/lib/webfontloader/demo/public/google-iframe.html +40 -0
  8. data/lib/webfontloader/demo/public/index.html +15 -2
  9. data/lib/webfontloader/demo/public/monotype-iframe.html +46 -0
  10. data/lib/webfontloader/demo/public/typekit-iframe.html +41 -0
  11. data/lib/webfontloader/demo/public/typekit.html +7 -9
  12. data/lib/webfontloader.rb +1 -1
  13. data/src/ascender/ascender_script.js +2 -3
  14. data/src/core/domhelper.js +36 -4
  15. data/src/core/font.js +12 -6
  16. data/src/core/fontmoduleloader.js +2 -2
  17. data/src/core/initialize.js +2 -3
  18. data/src/custom/customcss.js +1 -2
  19. data/src/fontdeck/fontdeck_script.js +12 -10
  20. data/src/google/fontapiurlbuilder.js +1 -3
  21. data/src/google/googlefontapi.js +3 -4
  22. data/src/monotype/monotype_script.js +8 -25
  23. data/src/typekit/typekit_script.js +9 -10
  24. data/src-test/ascender/ascender_script_test.js +3 -0
  25. data/src-test/core/domhelpertest.js +44 -1
  26. data/src-test/core/eventdispatchertest.js +1 -1
  27. data/src-test/core/fonttest.js +53 -28
  28. data/src-test/fontdeck/fontdeck_script_test.js +26 -16
  29. data/src-test/google/fontapiurlbuildertest.js +5 -5
  30. data/src-test/google/googlefontapitest.js +12 -0
  31. data/src-test/monotype/monotype_script_test.js +36 -62
  32. data/src-test/typekit/typekit_script_test.js +30 -6
  33. data/webfontloader.gemspec +8 -2
  34. metadata +10 -4
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: 41
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 31
10
- version: 1.0.31
10
+ version: 1.1.0
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: 2012-09-11 00:00:00 Z
19
+ date: 2012-12-05 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  prerelease: false
@@ -92,8 +92,11 @@ files:
92
92
  - docs/MODULES.md
93
93
  - docs/TRANSITIONS.md
94
94
  - lib/webfontloader.rb
95
+ - lib/webfontloader/demo/public/ascender-iframe.html
95
96
  - lib/webfontloader/demo/public/ascender.html
96
97
  - lib/webfontloader/demo/public/basic.css
98
+ - lib/webfontloader/demo/public/blank.html
99
+ - lib/webfontloader/demo/public/custom-iframe.html
97
100
  - lib/webfontloader/demo/public/custom.html
98
101
  - lib/webfontloader/demo/public/event-css-active-multiple.html
99
102
  - lib/webfontloader/demo/public/event-css-active.html
@@ -107,13 +110,16 @@ files:
107
110
  - lib/webfontloader/demo/public/fontdeck.html
108
111
  - lib/webfontloader/demo/public/fontwatchrunner-default-fonts.html
109
112
  - lib/webfontloader/demo/public/google-css.html
113
+ - lib/webfontloader/demo/public/google-iframe.html
110
114
  - lib/webfontloader/demo/public/google.html
111
115
  - lib/webfontloader/demo/public/ie-fast-js.html
112
116
  - lib/webfontloader/demo/public/ie-slow-js.html
113
117
  - lib/webfontloader/demo/public/ie-slow-link.html
114
118
  - lib/webfontloader/demo/public/index.html
115
119
  - lib/webfontloader/demo/public/jquery.min.js
120
+ - lib/webfontloader/demo/public/monotype-iframe.html
116
121
  - lib/webfontloader/demo/public/monotype.html
122
+ - lib/webfontloader/demo/public/typekit-iframe.html
117
123
  - lib/webfontloader/demo/public/typekit-variations.html
118
124
  - lib/webfontloader/demo/public/typekit.html
119
125
  - lib/webfontloader/demo/server.rb