Skip to content

Commit d374ecc

Browse files
authored
Merge pull request #4062 from plotly/bye-bye-pull-font-svg
Remove pull_font_svg step
2 parents 195a849 + f4cf8c0 commit d374ecc

18 files changed

+15
-1719
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ node_modules
22

33
build/*
44
!build/plotcss.js
5-
!build/ploticon.js
65
!build/README.md
76

87
npm-debug.log*

Diff for: .npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
build/*
22
!build/plotcss.js
3-
!build/ploticon.js
43
!build/README.md
54

65
devtools

Diff for: package-lock.json

-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
"run-series": "^1.1.8",
160160
"through2": "^3.0.1",
161161
"true-case-path": "^1.0.3",
162-
"watchify": "^3.11.1",
163-
"xml2js": "^0.4.19"
162+
"watchify": "^3.11.1"
164163
}
165164
}

Diff for: src/components/modebar/buttons.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var Registry = require('../../registry');
1212
var Plots = require('../../plots/plots');
1313
var axisIds = require('../../plots/cartesian/axis_ids');
1414
var Lib = require('../../lib');
15-
var Icons = require('../../../build/ploticon');
15+
var Icons = require('../../fonts/ploticon');
1616

1717
var _ = Lib._;
1818

Diff for: src/components/modebar/modebar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var d3 = require('d3');
1313
var isNumeric = require('fast-isnumeric');
1414

1515
var Lib = require('../../lib');
16-
var Icons = require('../../../build/ploticon');
16+
var Icons = require('../../fonts/ploticon');
1717
var Parser = new DOMParser();
1818

1919
/**

Diff for: src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ register([
6666
]);
6767

6868
// plot icons
69-
exports.Icons = require('../build/ploticon');
69+
exports.Icons = require('./fonts/ploticon');
7070

7171
// unofficial 'beta' plot methods, use at your own risk
7272
exports.Plots = require('./plots/plots');

Diff for: build/ploticon.js renamed to src/fonts/ploticon.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* Copyright 2012-2019, Plotly, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
'use strict';
210

311
module.exports = {

Diff for: src/fonts/ploticon/_ploticon.scss

-45
This file was deleted.

0 commit comments

Comments
 (0)