webfontloader 1.6.18 → 1.6.19
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.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -2
- data/lib/webfontloader.rb +1 -1
- data/package.json +3 -2
- data/webfontloader.gemspec +1 -1
- data/webfontloader.js +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aeac7f20d5845ece93f697ce178b66c91af3919c
|
|
4
|
+
data.tar.gz: c2b2b954e6fa6d2547d159a4cf6b0c556d269160
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbffbca1ba84cbb0eb89ede5c7873fe625df87fc723e3923a57ca50c786219a779ba47827cb3a865900e18f7c3878a57da6455caf0854cbf48534d96a0f2360e
|
|
7
|
+
data.tar.gz: 6e96a9ce3b0f89db8237e9ada1c160038780b17c033ab41f5e4ee4050cf7e60a7b4ea39419b669c448e5b5fd7b9af6733ce622db0eb1be34d67bd526f42eebdd
|
data/CHANGELOG
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
v1.6.
|
|
1
|
+
v1.6.19 (January 4, 2016)
|
|
2
|
+
|
|
3
|
+
* Add src/core files to npm package.
|
|
4
|
+
|
|
5
|
+
v1.6.18 (January 4, 2016)
|
|
2
6
|
|
|
3
7
|
* Version bump.
|
|
4
8
|
|
|
5
|
-
v1.6.17 (January 4,
|
|
9
|
+
v1.6.17 (January 4, 2016)
|
|
6
10
|
|
|
7
11
|
* Upgrade closure compiler and base.js to latest version (no code changes).
|
|
8
12
|
|
data/lib/webfontloader.rb
CHANGED
data/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webfontloader",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.18",
|
|
4
4
|
"description": "Web Font Loader gives you added control when using linked fonts via @font-face.",
|
|
5
5
|
"main": "webfontloader.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"@font-face"
|
|
20
20
|
],
|
|
21
21
|
"files": [
|
|
22
|
-
"webfontloader.js"
|
|
22
|
+
"webfontloader.js",
|
|
23
|
+
"src/core/*.js"
|
|
23
24
|
],
|
|
24
25
|
"contributors": [
|
|
25
26
|
"Ryan Carver <ryan@typekit.com>",
|
data/webfontloader.gemspec
CHANGED
|
@@ -13,7 +13,7 @@ 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.6.
|
|
16
|
+
s.version = '1.6.19'
|
|
17
17
|
s.date = '2016-01-04'
|
|
18
18
|
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
data/webfontloader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Web Font Loader v1.6.
|
|
1
|
+
/* Web Font Loader v1.6.19 - (c) Adobe Systems, Google. License: Apache 2.0 */
|
|
2
2
|
(function(){function aa(a,b,c){return a.call.apply(a.bind,arguments)}function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function p(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,c,d){b=a.c.createElement(b);if(c)for(var e in c)c.hasOwnProperty(e)&&("style"==e?b.style.cssText=c[e]:b.setAttribute(e,c[e]));d&&b.appendChild(a.c.createTextNode(d));return b}function u(a,b,c){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(c,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}
|
|
3
3
|
function w(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<d.length;g+=1)if(b[e]===d[g]){f=!0;break}f||d.push(b[e])}b=[];for(e=0;e<d.length;e+=1){f=!1;for(g=0;g<c.length;g+=1)if(d[e]===c[g]){f=!0;break}f||b.push(d[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d++)if(c[d]==b)return!0;return!1}
|
|
4
4
|
function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.protocol;"about:"==b&&(b=a.a.location.protocol);return"https:"==b?"https:":"http:"}function ea(a){return a.m.location.hostname||a.a.location.hostname}
|