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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45a47daf28ee4cd29e8e044c4ff0c296d03f7f4d
4
- data.tar.gz: 632bcb1c5d914ddf66aeb679b3d705e34e144945
3
+ metadata.gz: 7b5b27f6a24743e05764229077fa2f7fed9659a6
4
+ data.tar.gz: 0a301e1e5a346b6647af7c821e787f6297df08c7
5
5
  SHA512:
6
- metadata.gz: f105249ee823a73c6c57573a81938bdcac178e22be04960259cbfc5bae535c186d9160ea76681487971bf8796e397eb293e52ae40baabc62aa19f15e324d49b7
7
- data.tar.gz: e4f343569f5fcb6e98c0f6e72896264c6a29cf8ec28701b3c402897f71b647f33ce2ca4007ad1c8bffa2a9d3c07ec93d9420f1b52f2f2b52ae06bcb4cda9bbfe
6
+ metadata.gz: 84aaf36fd5721719ce6dc6d90603a208a54759b3e94627554e2af24d90eb9461fed601d1c8ad005f180351065ced2f327ac6af43c98b875cb310e75d9c549d6c
7
+ data.tar.gz: eedecfac64658528dfbd4922ae2e98961ec4c6859d1572917692918be2d82b245081f2cf44b800d259e22e91470fcbc07618f402b870a4461e504514d91b7f06
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ v1.6.2 (May 29, 2015)
2
+ * No changes.
3
+
4
+ v1.6.1 (May 29, 2015)
5
+ * Automatically update npm version.
6
+
1
7
  v1.6.0 (May 28, 2015)
2
8
  * Remove user agent string sniffing. From now on the Web Font Loader will always try to load fonts.
3
9
 
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 "git tag -a v#{version}"
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
@@ -3,7 +3,7 @@ require 'yaml'
3
3
  require 'webfontloader/modules'
4
4
 
5
5
  module WebFontLoader
6
- VERSION = '1.6.0'
6
+ VERSION = '1.6.2'
7
7
 
8
8
  ProjectRoot = File.expand_path(File.dirname(__FILE__) + "/..")
9
9
 
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webfontloader",
3
- "version": "1.5.21",
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
  }
@@ -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.0'
17
- s.date = '2015-05-28'
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.0 - (c) Adobe Systems, Google. License: Apache 2.0 */
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.0
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-28 00:00:00.000000000 Z
12
+ date: 2015-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake