webfontloader 1.6.0 → 1.6.2
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 -0
- data/Rakefile +2 -1
- data/lib/webfontloader.rb +1 -1
- data/package.json +2 -3
- data/webfontloader.gemspec +2 -2
- data/webfontloader.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b5b27f6a24743e05764229077fa2f7fed9659a6
|
|
4
|
+
data.tar.gz: 0a301e1e5a346b6647af7c821e787f6297df08c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84aaf36fd5721719ce6dc6d90603a208a54759b3e94627554e2af24d90eb9461fed601d1c8ad005f180351065ced2f327ac6af43c98b875cb310e75d9c549d6c
|
|
7
|
+
data.tar.gz: eedecfac64658528dfbd4922ae2e98961ec4c6859d1572917692918be2d82b245081f2cf44b800d259e22e91470fcbc07618f402b870a4461e504514d91b7f06
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
|
@@ -216,9 +216,10 @@ task :release => [:build] do
|
|
|
216
216
|
end
|
|
217
217
|
sh "git add webfontloader.js"
|
|
218
218
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
|
219
|
-
sh "
|
|
219
|
+
sh "npm version #{version}"
|
|
220
220
|
sh "git push --tags origin master"
|
|
221
221
|
sh "gem push pkg/#{name}-#{version}.gem"
|
|
222
|
+
sh "npm publish"
|
|
222
223
|
end
|
|
223
224
|
|
|
224
225
|
task :build => :gemspec do
|
data/lib/webfontloader.rb
CHANGED
data/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webfontloader",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
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": {
|
|
@@ -29,6 +29,5 @@
|
|
|
29
29
|
"url": "https://github.com/typekit/webfontloader/issues"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/typekit/webfontloader",
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
}
|
|
32
|
+
"devDependencies": {}
|
|
34
33
|
}
|
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.6.
|
|
17
|
-
s.date = '2015-05-
|
|
16
|
+
s.version = '1.6.2'
|
|
17
|
+
s.date = '2015-05-29'
|
|
18
18
|
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
|
20
20
|
## as you like.
|
data/webfontloader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Web Font Loader v1.6.
|
|
1
|
+
/* Web Font Loader v1.6.2 - (c) Adobe Systems, Google. License: Apache 2.0 */
|
|
2
2
|
;(function(window,document,undefined){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 m(a,b,c){m=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return m.apply(null,arguments)}var n=Date.now||function(){return+new Date};function r(a,b){this.C=a;this.q=b||a;this.D=this.q.document}r.prototype.createElement=function(a,b,c){a=this.D.createElement(a);if(b)for(var d in b)b.hasOwnProperty(d)&&("style"==d?a.style.cssText=b[d]:a.setAttribute(d,b[d]));c&&a.appendChild(this.D.createTextNode(c));return a};function s(a,b,c){a=a.D.getElementsByTagName(b)[0];a||(a=document.documentElement);a&&a.lastChild&&a.insertBefore(c,a.lastChild)}
|
|
3
3
|
function t(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),f=0;f<b.length;f+=1){for(var e=!1,g=0;g<d.length;g+=1)if(b[f]===d[g]){e=!0;break}e||d.push(b[f])}b=[];for(f=0;f<d.length;f+=1){e=!1;for(g=0;g<c.length;g+=1)if(d[f]===c[g]){e=!0;break}e||b.push(d[f])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function u(a,b){for(var c=a.className.split(/\s+/),d=0,f=c.length;d<f;d++)if(c[d]==b)return!0;return!1}
|
|
4
4
|
function v(a){if("string"===typeof a.ca)return a.ca;var b=a.q.location.protocol;"about:"==b&&(b=a.C.location.protocol);return"https:"==b?"https:":"http:"}function w(a,b){var c=a.createElement("link",{rel:"stylesheet",href:b,media:"all"}),d=!1;c.onload=function(){d||(d=!0)};c.onerror=function(){d||(d=!0)};s(a,"head",c)}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webfontloader
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Carver
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-05-
|
|
12
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|