@financial-times/x-topic-search 6.8.1 → 7.0.0
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.
- package/bower_components/fontfaceobserver/.bower.json +32 -0
- package/bower_components/fontfaceobserver/.travis.yml +16 -0
- package/bower_components/fontfaceobserver/Gruntfile.js +101 -0
- package/bower_components/fontfaceobserver/bower.json +22 -0
- package/bower_components/fontfaceobserver/exports.js +8 -0
- package/bower_components/fontfaceobserver/externs-commonjs.js +10 -0
- package/bower_components/fontfaceobserver/package-lock.json +3283 -0
- package/bower_components/fontfaceobserver/test/assets/index.html +8 -0
- package/bower_components/fontfaceobserver/test/assets/late.css +1 -0
- package/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.eot +0 -0
- package/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.ttf +0 -0
- package/bower_components/fontfaceobserver/test/assets/sourcesanspro-regular.woff +0 -0
- package/bower_components/fontfaceobserver/test/assets/subset.eot +0 -0
- package/bower_components/fontfaceobserver/test/assets/subset.ttf +0 -0
- package/bower_components/fontfaceobserver/test/assets/subset.woff +0 -0
- package/bower_components/fontfaceobserver/test/deps.js +5 -0
- package/bower_components/fontfaceobserver/test/index.html +97 -0
- package/bower_components/fontfaceobserver/test/observer-test.js +471 -0
- package/bower_components/fontfaceobserver/test/ruler-test.js +112 -0
- package/bower_components/fontfaceobserver/vendor/google/base.js +1489 -0
- package/bower_components/mathsass/.bower.json +24 -0
- package/bower_components/mathsass/lib/MathSass.rb +13 -0
- package/bower_components/mathsass/mathsass.gemspec +39 -0
- package/bower_components/sass-mq/.bower.json +44 -0
- package/bower_components/sass-mq/bower.json +33 -0
- package/bower_components/sass-mq/docs/assets/css/main.css +1 -0
- package/bower_components/sass-mq/docs/assets/images/favicon.png +0 -0
- package/bower_components/sass-mq/docs/assets/images/logo_full_compact.svg +1 -0
- package/bower_components/sass-mq/docs/assets/images/logo_full_inline.svg +1 -0
- package/bower_components/sass-mq/docs/assets/images/logo_light_compact.svg +1 -0
- package/bower_components/sass-mq/docs/assets/images/logo_light_inline.svg +1 -0
- package/bower_components/sass-mq/docs/assets/js/main.js +56 -0
- package/bower_components/sass-mq/docs/assets/js/main.min.js +1 -0
- package/bower_components/sass-mq/docs/assets/js/search.js +146 -0
- package/bower_components/sass-mq/docs/assets/js/sidebar.js +163 -0
- package/bower_components/sass-mq/docs/assets/js/vendor/fuse.min.js +20 -0
- package/bower_components/sass-mq/docs/assets/js/vendor/jquery.min.js +4 -0
- package/bower_components/sass-mq/docs/assets/js/vendor/prism.min.js +9 -0
- package/bower_components/sass-mq/docs/index.html +193 -0
- package/bower_components/sass-mq/package-lock.json +5589 -0
- package/bower_components/sass-mq/show-breakpoints.gif +0 -0
- package/package.json +5 -5
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fontfaceobserver",
|
|
3
|
+
"description": "Fast and simple web font loading.",
|
|
4
|
+
"main": "fontfaceobserver.standalone.js",
|
|
5
|
+
"authors": [
|
|
6
|
+
"Bram Stein <b.l.stein@gmail.com> (http://www.bramstein.com/)"
|
|
7
|
+
],
|
|
8
|
+
"license": "BSD-3-Clause",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"fontloader",
|
|
11
|
+
"fonts",
|
|
12
|
+
"font",
|
|
13
|
+
"font-face",
|
|
14
|
+
"web",
|
|
15
|
+
"font",
|
|
16
|
+
"font",
|
|
17
|
+
"load",
|
|
18
|
+
"font",
|
|
19
|
+
"events"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://github.com/bramstein/fontfaceobserver",
|
|
22
|
+
"version": "2.1.0",
|
|
23
|
+
"_release": "2.1.0",
|
|
24
|
+
"_resolution": {
|
|
25
|
+
"type": "version",
|
|
26
|
+
"tag": "v2.1.0",
|
|
27
|
+
"commit": "7742d5d7f4e9d058bfbecd306d5047e56ca003d5"
|
|
28
|
+
},
|
|
29
|
+
"_source": "https://github.com/bramstein/fontfaceobserver.git",
|
|
30
|
+
"_target": "^2.0.9",
|
|
31
|
+
"_originalSource": "fontfaceobserver"
|
|
32
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
var extend = require('extend');
|
|
2
|
+
|
|
3
|
+
module.exports = function (grunt) {
|
|
4
|
+
require('google-closure-compiler').grunt(grunt);
|
|
5
|
+
|
|
6
|
+
var compilerOptions = {
|
|
7
|
+
compilation_level: 'ADVANCED_OPTIMIZATIONS',
|
|
8
|
+
warning_level: 'VERBOSE',
|
|
9
|
+
summary_detail_level: 3,
|
|
10
|
+
language_in: 'ECMASCRIPT5_STRICT',
|
|
11
|
+
output_wrapper: '(function(){%output%}());',
|
|
12
|
+
use_types_for_optimization: true,
|
|
13
|
+
externs: ['externs-commonjs.js']
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
var src = [
|
|
17
|
+
'node_modules/closure-dom/src/dom.js',
|
|
18
|
+
'src/descriptors.js',
|
|
19
|
+
'src/ruler.js',
|
|
20
|
+
'src/observer.js',
|
|
21
|
+
'exports.js'
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
grunt.initConfig({
|
|
25
|
+
pkg: grunt.file.readJSON('package.json'),
|
|
26
|
+
clean: {
|
|
27
|
+
options: {
|
|
28
|
+
force: true
|
|
29
|
+
},
|
|
30
|
+
build: ['build']
|
|
31
|
+
},
|
|
32
|
+
exec: {
|
|
33
|
+
test: './node_modules/.bin/phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html',
|
|
34
|
+
deps: 'calcdeps -i src -i exports.js -p src -p ./vendor/google/base.js -p node_modules/closure-dom/src/dom.js -o deps > test/deps.js'
|
|
35
|
+
},
|
|
36
|
+
jshint: {
|
|
37
|
+
all: ['src/**/*.js'],
|
|
38
|
+
options: {
|
|
39
|
+
// ... better written as dot notation
|
|
40
|
+
'-W069': true,
|
|
41
|
+
|
|
42
|
+
// type definitions
|
|
43
|
+
'-W030': true,
|
|
44
|
+
|
|
45
|
+
// Don't make functions within loops
|
|
46
|
+
'-W083': true,
|
|
47
|
+
|
|
48
|
+
// Wrap the /regexp/ literal in parens to disambiguate the slash operator
|
|
49
|
+
'-W092': true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
'closure-compiler': {
|
|
53
|
+
dist: {
|
|
54
|
+
files: {
|
|
55
|
+
'fontfaceobserver.js': src
|
|
56
|
+
},
|
|
57
|
+
options: compilerOptions
|
|
58
|
+
},
|
|
59
|
+
compile: {
|
|
60
|
+
files: {
|
|
61
|
+
'build/fontfaceobserver.js': src
|
|
62
|
+
},
|
|
63
|
+
options: compilerOptions
|
|
64
|
+
},
|
|
65
|
+
debug: {
|
|
66
|
+
files: {
|
|
67
|
+
'build/fontfaceobserver.debug.js': src
|
|
68
|
+
},
|
|
69
|
+
options: extend({}, compilerOptions, {
|
|
70
|
+
debug: true,
|
|
71
|
+
formatting: ['PRETTY_PRINT', 'PRINT_INPUT_DELIMITER']
|
|
72
|
+
})
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
concat: {
|
|
76
|
+
options: {
|
|
77
|
+
banner: '/* Font Face Observer v<%= pkg.version %> - © Bram Stein. License: BSD-3-Clause */'
|
|
78
|
+
},
|
|
79
|
+
dist_promises: {
|
|
80
|
+
src: ['node_modules/promis/promise.js', 'build/fontfaceobserver.js'],
|
|
81
|
+
dest: 'fontfaceobserver.js'
|
|
82
|
+
},
|
|
83
|
+
dist: {
|
|
84
|
+
src: ['build/fontfaceobserver.js'],
|
|
85
|
+
dest: 'fontfaceobserver.standalone.js'
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
grunt.loadNpmTasks('grunt-closurecompiler');
|
|
91
|
+
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
92
|
+
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
93
|
+
grunt.loadNpmTasks('grunt-contrib-concat');
|
|
94
|
+
grunt.loadNpmTasks('grunt-exec');
|
|
95
|
+
|
|
96
|
+
grunt.registerTask('compile', ['closure-compiler:compile']);
|
|
97
|
+
grunt.registerTask('debug', ['closure-compiler:debug']);
|
|
98
|
+
grunt.registerTask('default', ['compile']);
|
|
99
|
+
grunt.registerTask('test', ['jshint', 'exec:test']);
|
|
100
|
+
grunt.registerTask('dist', ['clean', 'closure-compiler:compile', 'concat:dist', 'concat:dist_promises']);
|
|
101
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fontfaceobserver",
|
|
3
|
+
"description": "Fast and simple web font loading.",
|
|
4
|
+
"main": "fontfaceobserver.standalone.js",
|
|
5
|
+
"authors": [
|
|
6
|
+
"Bram Stein <b.l.stein@gmail.com> (http://www.bramstein.com/)"
|
|
7
|
+
],
|
|
8
|
+
"license": "BSD-3-Clause",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"fontloader",
|
|
11
|
+
"fonts",
|
|
12
|
+
"font",
|
|
13
|
+
"font-face",
|
|
14
|
+
"web",
|
|
15
|
+
"font",
|
|
16
|
+
"font",
|
|
17
|
+
"load",
|
|
18
|
+
"font",
|
|
19
|
+
"events"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://github.com/bramstein/fontfaceobserver"
|
|
22
|
+
}
|