File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ function getMainBundleInfo() {
122122
123123// info about partial bundles
124124function getPartialBundleInfo ( ) {
125- return partialBundlePaths . map ( makeBundleInfo ) ;
125+ return partialBundlePaths . map ( distBundleInfo ) ;
126126}
127127
128128// footer info
@@ -143,11 +143,11 @@ function createLink(base, name) {
143143 return '[' + name + '](' + base + name + ')' ;
144144}
145145
146- function makeBundleInfo ( pathObj ) {
146+ function distBundleInfo ( pathObj ) {
147147 var name = pathObj . name ;
148148 var sizes = findSizes ( pathObj ) ;
149149 var traceList = pathObj . traceList ;
150- var pkgName = 'plotly.js-' + name + '-dist' ;
150+ var nameDist = 'plotly.js-' + name + '-dist' ;
151151 var nameVersion = name + '-' + pkgVersion ;
152152
153153 return [
@@ -168,9 +168,9 @@ function makeBundleInfo(pathObj) {
168168 '' ,
169169 '' ,
170170 '#### npm packages' ,
171- '> ' + createLink ( 'https://www.npmjs.com/package/' , pkgName ) ,
171+ '> ' + createLink ( 'https://www.npmjs.com/package/' , nameDist ) ,
172172 '' ,
173- '> ' + createLink ( 'https://www.npmjs.com/package/' , pkgName + '-min' ) ,
173+ '> ' + createLink ( 'https://www.npmjs.com/package/' , nameDist + '-min' ) ,
174174 '' ,
175175 '---' ,
176176 ''
You can’t perform that action at this time.
0 commit comments