File tree 7 files changed +14
-8
lines changed
7 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ node_modules
2
2
3
3
build /*
4
4
! build /plotcss.js
5
- ! build /ploticon.js
6
5
! build /README.md
7
6
8
7
npm-debug.log *
Original file line number Diff line number Diff line change 1
1
build /*
2
2
! build /plotcss.js
3
- ! build /ploticon.js
4
3
! build /README.md
5
4
6
5
devtools
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var Registry = require('../../registry');
12
12
var Plots = require ( '../../plots/plots' ) ;
13
13
var axisIds = require ( '../../plots/cartesian/axis_ids' ) ;
14
14
var Lib = require ( '../../lib' ) ;
15
- var Icons = require ( '../../../build /ploticon' ) ;
15
+ var Icons = require ( '../../fonts /ploticon' ) ;
16
16
17
17
var _ = Lib . _ ;
18
18
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var d3 = require('d3');
13
13
var isNumeric = require ( 'fast-isnumeric' ) ;
14
14
15
15
var Lib = require ( '../../lib' ) ;
16
- var Icons = require ( '../../../build /ploticon' ) ;
16
+ var Icons = require ( '../../fonts /ploticon' ) ;
17
17
var Parser = new DOMParser ( ) ;
18
18
19
19
/**
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ register([
66
66
] ) ;
67
67
68
68
// plot icons
69
- exports . Icons = require ( '../build /ploticon' ) ;
69
+ exports . Icons = require ( './fonts /ploticon' ) ;
70
70
71
71
// unofficial 'beta' plot methods, use at your own risk
72
72
exports . Plots = require ( './plots/plots' ) ;
Original file line number Diff line number Diff line change
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
+
1
9
'use strict' ;
2
10
3
11
module . exports = {
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ var arg = process.argv[2];
22
22
var DEV = ( arg === 'dev' ) || ( arg === '--dev' ) ;
23
23
24
24
25
- // Check if style and font build files are there
25
+ // Check if style build file is there
26
26
var doesFileExist = common . doesFileExist ;
27
- if ( ! doesFileExist ( constants . pathToCSSBuild ) || ! doesFileExist ( constants . pathToFontSVG ) ) {
27
+ if ( ! doesFileExist ( constants . pathToCSSBuild ) ) {
28
28
throw new Error ( [
29
- 'build/ is missing one or more files ' ,
29
+ 'build/plotcss.js is missing' ,
30
30
'Please run `npm run preprocess` first'
31
31
] . join ( '\n' ) ) ;
32
32
}
You can’t perform that action at this time.
0 commit comments